dd_id_20ada5a2b4
5. Documentation (Meta)
Sidebar Navigation
Table of Contents
Overview
- The documentation UI includes breadcrumbs and child navigation.
- Breadcrumbs show the current page path up to Home.
- The right sidebar lists child pages of the current page.
- The left sidebar uses a collapsible tree; only the current ancestry is expanded by default.
- Each node with children has a toggle control.
- Toggle controls sit to the right of the page label.
- Sidebar labels are displayed with a capitalized first letter (rest unchanged).
- Home is pinned to the top, Legacy is pinned to the bottom, and Special is pinned to the bottom within Documentation (Meta) via menu order overrides during sync.
- Section roots display a layer icon and colored marker based on the explicit
doc_layertaxonomy (fallback to the legacy slug-based mapping).
Implementation
- Theme template:
server/var_www/devdocs_wp/wp-content/themes/draconai/index.php - Taxonomy archive template:
server/var_www/devdocs_wp/wp-content/themes/draconai/taxonomy-doc_category.php