{# Global sidebar navigation.

Unlike pydata-sphinx-theme's default sidebar-nav-bs.html, this starts from the
root toctree (`startdepth=0`) on every page. That keeps all major sections
discoverable in the left sidebar, including on the home index page.
#}
<nav class="bd-docs-nav bd-links" aria-label="{{ _('Section Navigation') }}">
  <div class="bd-toc-item navbar-nav">
    {{- generate_toctree_html(
      "sidebar",
      startdepth=0,
      show_nav_level=theme_show_nav_level | int,
      maxdepth=theme_navigation_depth | int,
      collapse=theme_collapse_navigation | tobool,
      includehidden=theme_sidebar_includehidden | tobool,
      titles_only=True
      )
    -}}
  </div>
</nav>
