{{ 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:") }}

{% for raises in section.value %} {% endfor %}
{{ 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) }}
{% endblock table_style %} {% elif config.docstring_section_style == "list" %} {% block list_style scoped %}

{{ lang.t(section.title) or lang.t("Raises:") }}

{% endblock list_style %} {% elif config.docstring_section_style == "spacy" %} {% block spacy_style scoped %} {% for raises in section.value %} {% endfor %}
{{ (section.title or lang.t("RAISES")).rstrip(":").upper() }} {{ lang.t("DESCRIPTION") }}
{% with expression = raises.annotation %} {% include "expression.html" with context %} {% endwith %}
{{ raises.description|convert_markdown(heading_level, html_id) }}
{% endblock spacy_style %} {% endif %}