]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114338)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jan 2024 10:33:19 +0000 (11:33 +0100)
committerGitHub <noreply@github.com>
Sat, 20 Jan 2024 10:33:19 +0000 (10:33 +0000)
Doc/conf.py

index ba9dbb7408b69432b85bb488670789f4d48ca80d..e600c3d750af4a2a5fa9e8f4b71e53d3bbb4325f 100644 (file)
@@ -63,6 +63,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.