mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Merged in tychoish/sphinx (pull request #145)
fixing issue in parallel builds, sphinx drops second doc
This commit is contained in:
@@ -352,7 +352,6 @@ class Builder(object):
|
||||
self.write_doc_serialized(firstname, doctree)
|
||||
self.write_doc(firstname, doctree)
|
||||
# for the rest, determine how many documents to write in one go
|
||||
docnames = docnames[1:]
|
||||
ndocs = len(docnames)
|
||||
chunksize = min(ndocs // nproc, 10)
|
||||
nchunks, rest = divmod(ndocs, chunksize)
|
||||
|
||||
Reference in New Issue
Block a user