mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Actually make the change advertised in rev 40d4dae1df70.
This commit is contained in:
@@ -136,10 +136,7 @@ class BuildDoc(Command):
|
|||||||
freshenv=self.fresh_env)
|
freshenv=self.fresh_env)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if self.all_files:
|
app.build(force_all=self.all_files)
|
||||||
app.builder.build_all()
|
|
||||||
else:
|
|
||||||
app.builder.build_update()
|
|
||||||
except Exception, err:
|
except Exception, err:
|
||||||
from docutils.utils import SystemMessage
|
from docutils.utils import SystemMessage
|
||||||
if isinstance(err, SystemMessage):
|
if isinstance(err, SystemMessage):
|
||||||
|
|||||||
Reference in New Issue
Block a user