Skip to content

Commit 229ee5b

Browse files
authored
Retain shorter tables of contents for Sphinx 5.2.3+ (#114318)
Disable toc_object_entries, new in Sphinx 5.2.3
1 parent 7e49f27 commit 229ee5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
# Minimum version of sphinx required
7575
needs_sphinx = '4.2'
7676

77+
# Create table of contents entries for domain objects (e.g. functions, classes,
78+
# attributes, etc.). Default is True.
79+
toc_object_entries = False
80+
7781
# Ignore any .rst files in the includes/ directory;
7882
# they're embedded in pages but not rendered individually.
7983
# Ignore any .rst files in the venv/ directory.

0 commit comments

Comments
 (0)