mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added a `toctree` variable to the templates, and the ability to
The new ``html_collapse_toctree`` config value can be used to "collapse" the generated toctree given to the templates.
This commit is contained in:
@@ -462,6 +462,14 @@ that use Sphinx' HTMLWriter class.
|
||||
|
||||
.. versionadded:: 0.4
|
||||
|
||||
.. confval:: html_collapse_toctree
|
||||
|
||||
If true, the toctree given to the templates as ``toctree`` will be collapsed,
|
||||
i.e. only the subitems that contain the current page are visible. Default is
|
||||
``False``.
|
||||
|
||||
.. versionadded:: 0.6
|
||||
|
||||
.. confval:: htmlhelp_basename
|
||||
|
||||
Output file base name for HTML help builder. Default is ``'pydoc'``.
|
||||
|
||||
Reference in New Issue
Block a user