Skip to content

Commit

Permalink
Merge pull request sphinx-doc#7109 from sphinx-doc/6033_doc_for_tocdepth
Browse files Browse the repository at this point in the history
docs: Add a restriction note about tocdepth (refs: sphinx-doc#6033)
  • Loading branch information
tk0miya committed Feb 8, 2020
2 parents 1a52381 + f6acd06 commit 1e5342f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/usage/restructuredtext/field-lists.rst
Expand Up @@ -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``
Expand Down

0 comments on commit 1e5342f

Please sign in to comment.