{% extends "base.html" %}
{% from "chirpui/layout.html" import container, stack %}
{% from "chirpui/rendered_content.html" import rendered_content %}
{% from "partials/navigation-components.html" import page_navigation %}
{% block content %}
{% let element = element | default(metadata?.autodoc_element ?? none) %}
{% call container(cls="chirp-theme-reference-page chirp-theme-reference-page--python") %}
{% call stack(gap="lg") %}
{% include "autodoc/partials/header.html" %}
{% include "autodoc/partials/signature.html" %}
{% if element?.description ?? none %}
{% call rendered_content(compact=true, cls="chirp-theme-reference-description") %}{{ element.description | safe }}{% end %}
{% end %}
{% include "autodoc/partials/members.html" %}
{% include "autodoc/partials/examples.html" %}
{% if page %}{{ page_navigation(page) }}{% end %}
{% end %}
{% end %}
{% end %}