mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The `toctree callable in templates now accepts a titles_only` keyword argument.
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
{# custom sidebar template #}
|
||||
<h4>Custom sidebar</h4>
|
||||
|
||||
{{ toctree(titles_only=True, maxdepth=1) }}
|
||||
|
||||
Reference in New Issue
Block a user