{{ log.debug("Rendering raises section") }} {% import "language.html" as lang with context %} {% if config.docstring_section_style == "table" %} {% block table_style scoped %}
{{ section.title or lang.t("Raises:") }}
{{ lang.t("Type") }} | {{ lang.t("Description") }} |
---|---|
{% if raises.annotation %}
{% with expression = raises.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ raises.description|convert_markdown(heading_level, html_id) }}
|
{{ lang.t(section.title) or lang.t("Raises:") }}
{% include "expression.html" with context %}
{% endwith %}
–
{% endif %}
{{ (section.title or lang.t("Raises:")) }}
{% include "expression.html" with context %}
{% endwith %}