From 2e6a3a6378770083a5b40e0b096a02be9dfd1f06 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:19 +0100 Subject: [3.11] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114338) --- Doc/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index ba9dbb74..e600c3d 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. -- cgit v0.12