mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docnames can also be None...
This commit is contained in:
parent
bc614bcd93
commit
9f5cb0eca9
@ -268,7 +268,7 @@ class Builder(object):
|
|||||||
# filter "docnames" (list of outdated files) by the updated
|
# filter "docnames" (list of outdated files) by the updated
|
||||||
# found_docs of the environment; this will remove docs that
|
# found_docs of the environment; this will remove docs that
|
||||||
# have since been removed
|
# have since been removed
|
||||||
if docnames != ['__all__']:
|
if docnames and docnames != ['__all__']:
|
||||||
docnames = set(docnames) & self.env.found_docs
|
docnames = set(docnames) & self.env.found_docs
|
||||||
|
|
||||||
# another indirection to support builders that don't build
|
# another indirection to support builders that don't build
|
||||||
|
Loading…
Reference in New Issue
Block a user