Merge pull request #7109 from sphinx-doc/6033_doc_for_tocdepth

docs: Add a restriction note about tocdepth (refs: #6033)
This commit is contained in:
Takeshi KOMIYA 2020-02-08 18:37:06 +09:00 committed by GitHub
commit 1e5342faa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,12 @@ At the moment, these metadata fields are recognized:
:tocdepth: 2
.. note::
This metadata effects to the depth of local toctree. But it does not
effect to the depth of *global* toctree. So this would not be change
the sidebar of some themes which uses global one.
.. versionadded:: 0.4
``nocomments``