summaryrefslogtreecommitdiff
path: root/sphinx/builder.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-23 08:34:33 +0000
committerGeorg Brandl <georg@python.org>2008-03-23 08:34:33 +0000
commit16d18a2ce5a25636dfb6f53897fd3d88b6d979ed (patch)
tree6bc7966efb1838fc7b13f5b1f726c9161b713b17 /sphinx/builder.py
parent8be320821a422a1101ef0fff424075c2487f4f4f (diff)
downloadsphinx-git-16d18a2ce5a25636dfb6f53897fd3d88b6d979ed.tar.gz
Fix for build-all mode.
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r--sphinx/builder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py
index b35911511..b8e1bb3a7 100644
--- a/sphinx/builder.py
+++ b/sphinx/builder.py
@@ -233,6 +233,8 @@ class Builder(object):
if method == 'update':
# build updated ones as well
docnames = set(build_docnames) | set(updated_docnames)
+ else:
+ docnames = set(build_docnames)
# add all toctree-containing files that may have changed
for docname in list(docnames):