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:
Manuel Kaufmann 2023-08-17 14:04:56 +02:00
parent b5833585b2
commit 8e54fa29a5

View File

@ -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 }}