From 6279b2dc15e76105dd641a054fd71a8ce921b6de Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 20 Jan 2024 11:33:15 +0100 Subject: [PATCH] [3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337) --- Doc/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index 50207468f63c94..862820637a8a5a 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -68,6 +68,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.