mirror of https://github.com/python/cpython.git
This commit is contained in:
parent
9ba0528537
commit
c9d2bc6d7f
|
@ -101,9 +101,7 @@
|
||||||
|
|
||||||
# Create table of contents entries for domain objects (e.g. functions, classes,
|
# Create table of contents entries for domain objects (e.g. functions, classes,
|
||||||
# attributes, etc.). Default is True.
|
# attributes, etc.). Default is True.
|
||||||
toc_object_entries = True
|
toc_object_entries = False
|
||||||
# Hide parents to tidy up long entries in sidebar
|
|
||||||
toc_object_entries_show_parents = 'hide'
|
|
||||||
|
|
||||||
# Ignore any .rst files in the includes/ directory;
|
# Ignore any .rst files in the includes/ directory;
|
||||||
# they're embedded in pages but not rendered as individual pages.
|
# they're embedded in pages but not rendered as individual pages.
|
||||||
|
|
|
@ -434,6 +434,5 @@ def setup(app):
|
||||||
app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
|
app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
|
||||||
app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
|
app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
|
||||||
app.add_directive('miscnews', MiscNews)
|
app.add_directive('miscnews', MiscNews)
|
||||||
app.add_css_file('sidebar-wrap.css')
|
|
||||||
app.connect('env-check-consistency', patch_pairindextypes)
|
app.connect('env-check-consistency', patch_pairindextypes)
|
||||||
return {'version': '1.0', 'parallel_read_safe': True}
|
return {'version': '1.0', 'parallel_read_safe': True}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
div.sphinxsidebarwrapper {
|
|
||||||
overflow-x: scroll;
|
|
||||||
}
|
|
||||||
div.sphinxsidebarwrapper li code {
|
|
||||||
overflow-wrap: normal;
|
|
||||||
}
|
|
Loading…
Reference in New Issue