https://github.com/python/cpython/commit/229ee5bea1fb8f9de1f4d29397634cd3a433fb8d
commit: 229ee5bea1fb8f9de1f4d29397634cd3a433fb8d
branch: main
author: Hugo van Kemenade <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-01-19T18:52:42Z
summary:

Retain shorter tables of contents for Sphinx 5.2.3+ (#114318)

Disable toc_object_entries, new in Sphinx 5.2.3

files:
M Doc/conf.py

diff --git a/Doc/conf.py b/Doc/conf.py
index dc09b0b51ca84c..458954370debe2 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -74,6 +74,10 @@
 # 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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to