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

index 50207468f63c9440ca8a8ba82fe25875338664e0..862820637a8a5ac2dfa5910ffd9c514887a7dc06 100644 (file)
@@ -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.