Skip to content

Commit 52c08ed

Browse files
[3.12] Revert "Doc: Show object descriptions in the table of contents (GH-125757)" (GH-128406) (#128414)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 84c8843 commit 52c08ed

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

Doc/conf.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@
8989

9090
# Create table of contents entries for domain objects (e.g. functions, classes,
9191
# attributes, etc.). Default is True.
92-
toc_object_entries = True
93-
# Hide parents to tidy up long entries in sidebar
94-
toc_object_entries_show_parents = 'hide'
92+
toc_object_entries = False
9593

9694
# Ignore any .rst files in the includes/ directory;
9795
# they're embedded in pages but not rendered as individual pages.

Doc/tools/extensions/pyspecific.py

-1
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,5 @@ def setup(app):
435435
app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
436436
app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
437437
app.add_directive('miscnews', MiscNews)
438-
app.add_css_file('sidebar-wrap.css')
439438
app.connect('env-check-consistency', patch_pairindextypes)
440439
return {'version': '1.0', 'parallel_read_safe': True}

Doc/tools/static/sidebar-wrap.css

-6
This file was deleted.

0 commit comments

Comments
 (0)