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