{# Docs TOC Sidebar Component Right sidebarual graph minimap and table of contents. Used by docs-family templates: doc, autodoc-python, autodoc-cli. Features: - Contextual graph minimap (shows connections to current page) - Table of contents (via toc macro) - Conditionally rendered based on toc_items availability 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) Configuration: - Graph minimap can be disabled via theme config #} {% from 'partials/navigation-components.html' import toc %} {% if toc_items %} {% end %}