mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-26 07:00:14 -05:00
Merge pull request #7443 from mgeier/theme-options-toctree
Add globaltoc_collapse and globaltoc_includehidden options
This commit is contained in:
3 files changed
+18
-1
No files matched your search
@@ -155,6 +155,21 @@ These themes are:
|
||||
previous/next page using the keyboard's left and right arrows. Defaults to
|
||||
``False``.
|
||||
|
||||
- **globaltoc_collapse** (true or false): Only expand subsections
|
||||
of the current document in ``globaltoc.html``
|
||||
(see :confval:`html_sidebars`).
|
||||
Defaults to ``True``.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
- **globaltoc_includehidden** (true or false): Show even those
|
||||
subsections in ``globaltoc.html`` (see :confval:`html_sidebars`)
|
||||
which have been included with the ``:hidden:`` flag of the
|
||||
:rst:dir:`toctree` directive.
|
||||
Defaults to ``False``.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
**alabaster**
|
||||
`Alabaster theme`_ is a modified "Kr" Sphinx theme from @kennethreitz
|
||||
(especially as used in his Requests project), which was itself originally
|
||||
|
||||
Reference in new issue
Block a user