recommend exclude_patterns instead of unused_docs or exclude_trees

This commit is contained in:
Eric Knibbe 2013-12-17 18:12:54 +00:00
parent 2d36d17fd9
commit 9298e15ae0

View File

@ -141,9 +141,8 @@ tables of contents. The ``toctree`` directive is the central element.
In the end, all documents in the :term:`source directory` (or subdirectories) In the end, all documents in the :term:`source directory` (or subdirectories)
must occur in some ``toctree`` directive; Sphinx will emit a warning if it must occur in some ``toctree`` directive; Sphinx will emit a warning if it
finds a file that is not included, because that means that this file will not finds a file that is not included, because that means that this file will not
be reachable through standard navigation. Use :confval:`unused_docs` to be reachable through standard navigation. Use :confval:`exclude_patterns` to
explicitly exclude documents from building, and :confval:`exclude_trees` to explicitly exclude documents or directories from building.
exclude whole directories.
The "master document" (selected by :confval:`master_doc`) is the "root" of The "master document" (selected by :confval:`master_doc`) is the "root" of
the TOC tree hierarchy. It can be used as the documentation's main page, or the TOC tree hierarchy. It can be used as the documentation's main page, or