mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
commit
1e5342faa9
@ -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``
|
||||
|
Loading…
Reference in New Issue
Block a user