summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-08 15:40:35 +0100
committerGeorg Brandl <georg@python.org>2011-01-08 15:40:35 +0100
commita79758baedfa707bf00dd088d8ce93239ad401b7 (patch)
treeb7c30a18ff879c0e18e570b403a4574625ded084 /sphinx/setup_command.py
parente48f7eb09afbca2f52745b5efed2a1e3e25d66ee (diff)
parent30ce009d0d057bd2704cf149bbd043eaf20b0aff (diff)
downloadsphinx-git-a79758baedfa707bf00dd088d8ce93239ad401b7.tar.gz
merge with 1.0
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 4cae738d5..ebbcf27b8 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -137,10 +137,7 @@ class BuildDoc(Command):
freshenv=self.fresh_env)
try:
- if self.all_files:
- app.builder.build_all()
- else:
- app.builder.build_update()
+ app.build(force_all=self.all_files)
except Exception, err:
from docutils.utils import SystemMessage
if isinstance(err, SystemMessage):