{# Docs TOC Sidebar Component Right sidebar: contextual graph minimap and table of contents. Used by docs-family templates: doc, autodoc-python, autodoc-cli, notebook. Usage: {% include 'partials/docs-toc-sidebar.html' %} Context required: - page: Current page object - toc_items: List of TOC items (from markdown headings) - toc: TOC HTML string (optional, for raw HTML fallback) #} {% from 'partials/navigation-components.html' import toc %} {% if toc_items %} {% end %}