Skip to content

Commit 02f3505

Browse files
hugovksrinivasreddy
authored andcommitted
Revert "Doc: Show object descriptions in the table of contents (python#125757)" (python#128406)
1 parent 0b2948f commit 02f3505

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
@@ -101,9 +101,7 @@
101101

102102
# Create table of contents entries for domain objects (e.g. functions, classes,
103103
# attributes, etc.). Default is True.
104-
toc_object_entries = True
105-
# Hide parents to tidy up long entries in sidebar
106-
toc_object_entries_show_parents = 'hide'
104+
toc_object_entries = False
107105

108106
# Ignore any .rst files in the includes/ directory;
109107
# 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)