mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Pass includehidden=
as string instead of boolean
Sphinx 7.2 changed its internal API for `toctree()`. See https://github.com/sphinx-doc/sphinx/issues/11607 Related https://github.com/readthedocs/sphinx_rtd_theme/issues/1463
This commit is contained in:
parent
b5833585b2
commit
8e54fa29a5
@ -167,7 +167,7 @@
|
||||
{%- block menu %}
|
||||
{%- set toctree = toctree(maxdepth=theme_navigation_depth|int,
|
||||
collapse=theme_collapse_navigation|tobool,
|
||||
includehidden=theme_includehidden|tobool,
|
||||
includehidden=theme_includehidden,
|
||||
titles_only=theme_titles_only|tobool) %}
|
||||
{%- if toctree %}
|
||||
{{ toctree }}
|
||||
|
Loading…
Reference in New Issue
Block a user