mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue