From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 20 Jan 2024 10:33:15 +0000 (+0100) Subject: [3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337) X-Git-Tag: v3.12.2~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6279b2dc15e76105dd641a054fd71a8ce921b6de;p=thirdparty%2FPython%2Fcpython.git [3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337) --- diff --git a/Doc/conf.py b/Doc/conf.py index 50207468f63c..862820637a8a 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.