{% extends "base.html" %} {# OpenAPI Reference Schema Template Renders an OpenAPI schema's documentation using the autodoc skeleton. Extends base.html to inherit theme navigation, sidebars, and styling. Uses autodoc.css for all styling. This template receives: - element: DocElement for the schema - config: Autodoc configuration - site: Site instance #} {% from 'partials/navigation-components.html' import breadcrumbs, page_navigation, toc with context %} {% block content %} {# Three-column documentation layout #}
{# Left Sidebar: Navigation #} {# Main Content #}
{# Page Hero: Breadcrumbs + Title + Description + Metadata #} {% include 'partials/page-hero.html' %} {# Article Content - autodoc skeleton #}
{# Header #}
Schema

{{ element.name }}

{% if element.description %}
{{ element.description | markdownify | safe }}
{% endif %}
{# Schema Type #} {% if element.metadata.get('type') %}
Type: {{ element.metadata.get('type') }}
{% endif %} {# Properties #} {% if element.metadata.get('properties') %}

Properties

{% for prop_name, prop_schema in element.metadata.get('properties', {}).items() %} {% endfor %}
Property Type Required Description
{{ prop_name }} {{ prop_schema.get('type', 'object') if prop_schema is mapping else 'object' }} {% if element.metadata.get('required') and prop_name in element.metadata.get('required', []) %}Yes{% else %}No{% endif %} {{ prop_schema.get('description', '—') if prop_schema is mapping else '—' }}
{% endif %} {# Example #} {% if element.metadata.get('example') %}

Example

{{ element.metadata.get('example') | tojson(indent=2) }}
{% endif %} {# Tags #} {% if page.tags %} {% endif %}
{# Page navigation (prev/next) at bottom #} {{ page_navigation(page) }}
{# Right Sidebar: Contextual Graph + TOC + Metadata #} {% include 'partials/docs-toc-sidebar.html' %}
{# Mobile sidebar toggle button #} {# Sidebar overlay for mobile #} {% endblock %}