Skip to content

Commit

Permalink
Pass includehidden= as string instead of boolean
Browse files Browse the repository at this point in the history
Sphinx 7.2 changed its internal API for `toctree()`.

See sphinx-doc/sphinx#11607
Related #1463
  • Loading branch information
humitos committed Aug 17, 2023
1 parent b583358 commit 8e54fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8e54fa2

Please sign in to comment.