Merge heads

This commit is contained in:
tk0miya 2014-11-27 16:34:44 +09:00
commit d3615d9c0b
4 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,7 @@ Bugs fixed
* PR#311: sphinx-quickstart does not work on python 3.4.
* Fix :confval:`autodoc_docstring_signature` not working with signatures
in class docstrings.
* Rebuilding cause crash unexpectedly when source files were added.
* #1607: Fix a crash when building latexpdf with "howto" class

View File

@ -174,7 +174,11 @@ setup(
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Framework :: Sphinx',
'Framework :: Sphinx :: Extension',
'Framework :: Sphinx :: Theme',
'Topic :: Documentation',
'Topic :: Documentation :: Sphinx',
'Topic :: Text Processing',
'Topic :: Utilities',
],

View File

@ -244,7 +244,6 @@ class Builder(object):
if summary:
self.info(bold('building [%s]' % self.name) + ': ' + summary)
updated_docnames = set()
# while reading, collect all warnings from docutils
warnings = []
self.env.set_warnfunc(lambda *args: warnings.append(args))

View File

@ -590,7 +590,7 @@ class BuildEnvironment:
self.app = None
app.emit('env-updated', self)
return docnames
return set(docnames)
def _read_serial(self, docnames, app):
for docname in app.status_iterator(docnames, 'reading sources... ',