mirror of
https://github.com/django/django.git
synced 2024-12-22 09:05:43 +00:00
Disabled auto-created table of contents entries on Sphinx 5.2+.
Auto-created table of contents entries for all domain objects (e.g. functions, classes, attributes, etc.) were added in Sphinx 5.2, see https://github.com/sphinx-doc/sphinx/issues/6316. An option to control new table of contents entries was added in Sphinx 5.2.3, see https://github.com/sphinx-doc/sphinx/pull/10886.
This commit is contained in:
parent
7eee1dca42
commit
279967ec85
@ -97,6 +97,10 @@ source_suffix = ".txt"
|
|||||||
# The root toctree document.
|
# The root toctree document.
|
||||||
root_doc = "contents"
|
root_doc = "contents"
|
||||||
|
|
||||||
|
# Disable auto-created table of contents entries for all domain objects (e.g.
|
||||||
|
# functions, classes, attributes, etc.) in Sphinx 5.2+.
|
||||||
|
toc_object_entries = False
|
||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = "Django"
|
project = "Django"
|
||||||
copyright = "Django Software Foundation and contributors"
|
copyright = "Django Software Foundation and contributors"
|
||||||
|
Loading…
Reference in New Issue
Block a user