summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-01-20 10:33:15 (GMT)
committerGitHub <noreply@github.com>2024-01-20 10:33:15 (GMT)
commit6279b2dc15e76105dd641a054fd71a8ce921b6de (patch)
tree3d589b683a291c8b1cfa66f0cfb117b66d738e80 /Doc/conf.py
parentae2a25bf607410bb87d0b0c556adc7f56ec73fa9 (diff)
downloadcpython-6279b2dc15e76105dd641a054fd71a8ce921b6de.zip
cpython-6279b2dc15e76105dd641a054fd71a8ce921b6de.tar.gz
cpython-6279b2dc15e76105dd641a054fd71a8ce921b6de.tar.bz2
[3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337)
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 5020746..86282063 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -68,6 +68,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.