From 95ca8df9e9c14f3765087f085fb29c550828d14a Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Sun, 20 Oct 2024 11:08:13 -0700 Subject: [PATCH 1/2] expand toc object entries --- Doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index db8fb9a9a68c6b..36fb4500b35c77 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -94,7 +94,7 @@ # Create table of contents entries for domain objects (e.g. functions, classes, # attributes, etc.). Default is True. -toc_object_entries = False +toc_object_entries = True # Ignore any .rst files in the includes/ directory; # they're embedded in pages but not rendered individually. @@ -332,7 +332,7 @@ html_theme = 'python_docs_theme' html_theme_path = ['tools'] html_theme_options = { - 'collapsiblesidebar': True, + 'collapsiblesidebar': False, 'issues_url': '/bugs.html', 'license_url': '/license.html', 'root_include_title': False, # We use the version switcher instead. From 0e3b7dd69d5166d987947b323bb08b11933a07ca Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Sun, 20 Oct 2024 11:15:59 -0700 Subject: [PATCH 2/2] keep sidebar collapsible --- Doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/conf.py b/Doc/conf.py index 36fb4500b35c77..38426347814881 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -332,7 +332,7 @@ html_theme = 'python_docs_theme' html_theme_path = ['tools'] html_theme_options = { - 'collapsiblesidebar': False, + 'collapsiblesidebar': True, 'issues_url': '/bugs.html', 'license_url': '/license.html', 'root_include_title': False, # We use the version switcher instead.