{# Renders the global document toctree on every page (including the landing page) with pydata-sphinx-theme's collapsible chevrons. The stock sidebar-nav-bs.html starts at the current section and is stripped from the sidebar list by suppress_sidebar_toctree() on the root page (no parent section). Using generate_toctree_html with startdepth=0 renders the whole tree from root with the bootstrap classes the theme's JS uses for expand/collapse toggles. Naming the template "sidebar-globaltoc" sidesteps the suppress filter, which matches on "sidebar-nav-bs.html" specifically. #}