{{ log.debug("Rendering attributes section") }} {% import "language.html" as lang with context %} {% if config.docstring_section_style == "table" %} {% block table_style %}
{{ section.title or lang.t("Attributes:") }}
{{ lang.t("Name") }} | {{ lang.t("Type") }} | {{ lang.t("Description") }} |
---|---|---|
{{ attribute.name }} |
{% if attribute.annotation %}
{% with expression = attribute.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ attribute.description|convert_markdown(heading_level, html_id) }}
|
{{ section.title or lang.t("Attributes:") }}
{{ attribute.name }}
{% if attribute.annotation %}
{% with expression = attribute.annotation %}
({% include "expression.html" with context %}
)
{% endwith %}
{% endif %}
–
{{ (section.title or lang.t("ATTRIBUTE")).rstrip(":").upper() }} | {{ lang.t("DESCRIPTION") }} |
---|---|
{{ attribute.name }} |
{{ attribute.description|convert_markdown(heading_level, html_id) }}
{% if attribute.annotation %}
TYPE:
{% with expression = attribute.annotation %}
|