Skip to content

Commit cc5b03f

Browse files
[3.13] Revert "Doc: Show object descriptions in the table of contents (GH-125757)" (GH-128406) (#128413)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 261a604 commit cc5b03f

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
@@ -97,9 +97,7 @@
9797

9898
# Create table of contents entries for domain objects (e.g. functions, classes,
9999
# attributes, etc.). Default is True.
100-
toc_object_entries = True
101-
# Hide parents to tidy up long entries in sidebar
102-
toc_object_entries_show_parents = 'hide'
100+
toc_object_entries = False
103101

104102
# Ignore any .rst files in the includes/ directory;
105103
# 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
@@ -434,6 +434,5 @@ def setup(app):
434434
app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
435435
app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
436436
app.add_directive('miscnews', MiscNews)
437-
app.add_css_file('sidebar-wrap.css')
438437
app.connect('env-check-consistency', patch_pairindextypes)
439438
return {'version': '1.0', 'parallel_read_safe': True}

Doc/tools/static/sidebar-wrap.css

-6
This file was deleted.

0 commit comments

Comments
 (0)