Skip to content

Commit

Permalink
Revert "Doc: Show object descriptions in the table of contents (#125757
Browse files Browse the repository at this point in the history
…)" (#128406)
  • Loading branch information
hugovk authored Jan 2, 2025
1 parent 9ba0528 commit c9d2bc6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@

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

# Ignore any .rst files in the includes/ directory;
# they're embedded in pages but not rendered as individual pages.
Expand Down
1 change: 0 additions & 1 deletion Doc/tools/extensions/pyspecific.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,5 @@ def setup(app):
app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
app.add_directive('miscnews', MiscNews)
app.add_css_file('sidebar-wrap.css')
app.connect('env-check-consistency', patch_pairindextypes)
return {'version': '1.0', 'parallel_read_safe': True}
6 changes: 0 additions & 6 deletions Doc/tools/static/sidebar-wrap.css

This file was deleted.

0 comments on commit c9d2bc6

Please sign in to comment.