mirror of https://github.com/python/cpython
Retain shorter tables of contents for Sphinx 5.2.3+ (#114318)
Disable toc_object_entries, new in Sphinx 5.2.3
This commit is contained in:
parent
7e49f27b41
commit
229ee5bea1
|
@ -74,6 +74,10 @@ highlight_language = 'python3'
|
|||
# Minimum version of sphinx required
|
||||
needs_sphinx = '4.2'
|
||||
|
||||
# Create table of contents entries for domain objects (e.g. functions, classes,
|
||||
# attributes, etc.). Default is True.
|
||||
toc_object_entries = False
|
||||
|
||||
# Ignore any .rst files in the includes/ directory;
|
||||
# they're embedded in pages but not rendered individually.
|
||||
# Ignore any .rst files in the venv/ directory.
|
||||
|
|
Loading…
Reference in New Issue