Skip to content

Commit 2e6a3a6

Browse files
[3.11] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114338)
1 parent 20f7cf2 commit 2e6a3a6

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
@@ -63,6 +63,10 @@
6363
# Minimum version of sphinx required
6464
needs_sphinx = '4.2'
6565

66+
# Create table of contents entries for domain objects (e.g. functions, classes,
67+
# attributes, etc.). Default is True.
68+
toc_object_entries = False
69+
6670
# Ignore any .rst files in the includes/ directory;
6771
# they're embedded in pages but not rendered individually.
6872
# Ignore any .rst files in the venv/ directory.

0 commit comments

Comments
 (0)