Skip to content

Commit 6279b2d

Browse files
[3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337)
1 parent ae2a25b commit 6279b2d

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
@@ -68,6 +68,10 @@
6868
# Minimum version of sphinx required
6969
needs_sphinx = '4.2'
7070

71+
# Create table of contents entries for domain objects (e.g. functions, classes,
72+
# attributes, etc.). Default is True.
73+
toc_object_entries = False
74+
7175
# Ignore any .rst files in the includes/ directory;
7276
# they're embedded in pages but not rendered individually.
7377
# Ignore any .rst files in the venv/ directory.

0 commit comments

Comments
 (0)