mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix: rebuilding cause crash unexpectedly when source files were added. The problem appeared at fffbcba0b.
This commit is contained in:
parent
fa9fef3632
commit
c5c913ed4a
1
CHANGES
1
CHANGES
@ -16,6 +16,7 @@ Bugs fixed
|
|||||||
* PR#311: sphinx-quickstart does not work on python 3.4.
|
* PR#311: sphinx-quickstart does not work on python 3.4.
|
||||||
* Fix :confval:`autodoc_docstring_signature` not working with signatures
|
* Fix :confval:`autodoc_docstring_signature` not working with signatures
|
||||||
in class docstrings.
|
in class docstrings.
|
||||||
|
* Rebuilding cause crash unexpectedly when source files were added.
|
||||||
|
|
||||||
|
|
||||||
Release 1.3b1 (released Oct 10, 2014)
|
Release 1.3b1 (released Oct 10, 2014)
|
||||||
|
@ -244,7 +244,6 @@ class Builder(object):
|
|||||||
if summary:
|
if summary:
|
||||||
self.info(bold('building [%s]' % self.name) + ': ' + summary)
|
self.info(bold('building [%s]' % self.name) + ': ' + summary)
|
||||||
|
|
||||||
updated_docnames = set()
|
|
||||||
# while reading, collect all warnings from docutils
|
# while reading, collect all warnings from docutils
|
||||||
warnings = []
|
warnings = []
|
||||||
self.env.set_warnfunc(lambda *args: warnings.append(args))
|
self.env.set_warnfunc(lambda *args: warnings.append(args))
|
||||||
|
@ -590,7 +590,7 @@ class BuildEnvironment:
|
|||||||
|
|
||||||
self.app = None
|
self.app = None
|
||||||
app.emit('env-updated', self)
|
app.emit('env-updated', self)
|
||||||
return docnames
|
return set(docnames)
|
||||||
|
|
||||||
def _read_serial(self, docnames, app):
|
def _read_serial(self, docnames, app):
|
||||||
for docname in app.status_iterator(docnames, 'reading sources... ',
|
for docname in app.status_iterator(docnames, 'reading sources... ',
|
||||||
|
Loading…
Reference in New Issue
Block a user