Command Groups
{{ desc if desc else subsection_name ~ ' commands' }}
Commands
{{ desc if desc else 'No description available' }}
No CLI documentation available in this section yet.
{% extends "base.html" %} {# ================================================================================ CLI Reference Section Index Template (Kida-Native) ================================================================================ Renders a CLI section index page showing command groups and commands using a card-based layout. Extends base.html to inherit theme navigation. TEMPLATE VARIABLES: - section: Section object for the CLI section (required) - page: PageContext proxy with title, metadata, _path - config: Autodoc configuration - site: Site instance KIDA FEATURES USED: - Optional chaining (?.) for safe attribute access on nullable objects - Null coalescing (??) for providing defaults - {% let %} for template-scoped computed values - {% match %} for element type icon dispatch - Pipeline-friendly filtering ================================================================================ #} {% from 'partials/navigation-components.html' import breadcrumbs, page_navigation, toc %} {% block content %} {# Template-scoped caching of computed values #} {% let section_subsections = section?.sorted_subsections ?? [] %} {% let section_pages = section?.sorted_pages ?? [] %} {# Build command pages list (non-index pages only) #} {% let command_pages = section_pages | rejectattr('source_path', 'match', '.*_index.*') | reject('eq', section?.index_page) | list %} {# Three-column documentation layout #}
{{ desc if desc else subsection_name ~ ' commands' }}
{{ desc if desc else 'No description available' }}
No CLI documentation available in this section yet.