Files
documentation/extensions/odoo_theme/layout_templates/menu.html
T

13 lines
646 B
HTML
Raw Normal View History

2021-04-30 12:40:29 +02:00
{# Global TOC of the doc #}
{#
See: https://www.sphinx-doc.org/en/master/templating.html#toctree
collapse: Whether only menu items included in the breadcrumb should be rendered
title_only: Whether menu items for content pages (without toctree) should be hidden
includehidden: Whether menu items of pages inside a hidden toctree should be rendered
#}
{#
`collapse_menu` is passed directly to Jinja with sphinx-build's option `-A collapse_menu=True`.
It it evaluated as a string, so what we're really evaluating here is `collapse_menu != None`.
#}
2022-11-18 10:10:31 +00:00
{{ toctree(collapse=collapse_menu, titles_only=True, includehidden=False)}}