mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docs: autosectionlabel_maxdepth
This commit is contained in:
@@ -38,3 +38,10 @@ Configuration
|
|||||||
called ``Introduction`` that appears in document ``index.rst``. Useful for
|
called ``Introduction`` that appears in document ``index.rst``. Useful for
|
||||||
avoiding ambiguity when the same section heading appears in different
|
avoiding ambiguity when the same section heading appears in different
|
||||||
documents.
|
documents.
|
||||||
|
|
||||||
|
.. confval:: autosectionlabel_maxdepth
|
||||||
|
|
||||||
|
If set, autosectionlabel chooses the sections for labeling by its depth. For
|
||||||
|
example, when set 1 to ``autosectionlabel_maxdepth``, labels are generated
|
||||||
|
only for top level sections, and deeper sections are not labeled. It
|
||||||
|
defaults to ``None`` (disabled).
|
||||||
|
|||||||
Reference in New Issue
Block a user