{# Override pydata_sphinx_theme's default sidebar-nav-bs.html. The stock template starts at startdepth=1, which only lists a page's own *children*; since Topoly's toctree is flat (no nested sub-pages), that left the "Section Navigation" pane empty on every page. startdepth=0 renders the full site-wide toctree instead, with the current page highlighted. #} {% set show_nav_level = meta['html_theme.show_nav_level'] if (meta is defined and meta is not none and 'html_theme.show_nav_level' in meta) else theme_show_nav_level %}