mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add globaltoc_collapse and globaltoc_includehidden options
This commit is contained in:
parent
2fac698e76
commit
b14f9d7482
@ -8,4 +8,4 @@
|
|||||||
:license: BSD, see LICENSE for details.
|
:license: BSD, see LICENSE for details.
|
||||||
#}
|
#}
|
||||||
<h3><a href="{{ pathto(master_doc)|e }}">{{ _('Table of Contents') }}</a></h3>
|
<h3><a href="{{ pathto(master_doc)|e }}">{{ _('Table of Contents') }}</a></h3>
|
||||||
{{ toctree() }}
|
{{ toctree(includehidden=theme_globaltoc_includehidden, collapse=theme_globaltoc_collapse) }}
|
||||||
|
@ -10,3 +10,5 @@ sidebarwidth = 230
|
|||||||
body_min_width = 450
|
body_min_width = 450
|
||||||
body_max_width = 800
|
body_max_width = 800
|
||||||
navigation_with_keys = False
|
navigation_with_keys = False
|
||||||
|
globaltoc_collapse = true
|
||||||
|
globaltoc_includehidden = false
|
||||||
|
Loading…
Reference in New Issue
Block a user