mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Cosmetic changes.
This commit is contained in:
parent
83c9f7a849
commit
5975e6c0f6
@ -237,8 +237,7 @@ class Builder(object):
|
|||||||
|
|
||||||
def build(self, docnames, summary=None, method='update'):
|
def build(self, docnames, summary=None, method='update'):
|
||||||
"""
|
"""
|
||||||
Main build method. This first updates the environment, and then calls
|
Main build method. First updates the environment, and then calls :meth:`write`.
|
||||||
:meth:`write`.
|
|
||||||
"""
|
"""
|
||||||
if summary:
|
if summary:
|
||||||
self.info(bold('building [%s]: ' % self.name), nonl=1)
|
self.info(bold('building [%s]: ' % self.name), nonl=1)
|
||||||
@ -275,8 +274,7 @@ class Builder(object):
|
|||||||
self.info(bold('no targets are out of date.'))
|
self.info(bold('no targets are out of date.'))
|
||||||
return
|
return
|
||||||
|
|
||||||
# another indirection to support methods which don't build files
|
# another indirection to support builders that don't build files individually
|
||||||
# individually
|
|
||||||
self.write(docnames, updated_docnames, method)
|
self.write(docnames, updated_docnames, method)
|
||||||
|
|
||||||
# finish (write static files etc.)
|
# finish (write static files etc.)
|
||||||
|
Loading…
Reference in New Issue
Block a user