{% 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 %} {% 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 }}

{% end %}
{# Schema Type #} {% if element.metadata.type %}
Type: {{ element.metadata.type }}
{% end %} {# Properties #} {% if element.metadata.properties %}

Properties

{% set required_props = element.metadata.required ?? [] %} {% for prop_name, prop_schema in element.metadata.properties.items() %} {% end %}
Property Type Required Description
{{ prop_name }} {{ prop_schema.type ?? 'object' }} {% if prop_name in required_props %}Yes{% else %}No{% end %} {{ prop_schema.description ?? '—' }}
{% end %} {# Example #} {% if element.metadata.example %}

Example

{{ element.metadata.example | tojson(indent=2) }}
{% end %} {# Tags #} {% if page.tags %} {% end %}
{# 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 #} {% end %}