{{ log.debug("Rendering receives section") }} {% import "language.html" as lang with context %} {% if config.docstring_section_style == "table" %} {% block table_style %} {% set name_column = section.value|selectattr("name")|any %}
{{ section.title or lang.t("Receives:") }}
{{ lang.t("Name") }} | {% endif %}{{ lang.t("Type") }} | {{ lang.t("Description") }} |
---|---|---|
{% if receives.name %}{{ receives.name }} {% endif %} | {% endif %}
{% if receives.annotation %}
{% with expression = receives.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ receives.description|convert_markdown(heading_level, html_id) }}
|
{{ section.title or lang.t("Receives:") }}
{% include "expression.html" with context %}
{% if receives.name %}){% endif %}
{% endwith %}
{% endif %}
–
{{ (section.title or lang.t("RECEIVES")).rstrip(":").upper()) }} | {{ lang.t("DESCRIPTION") }} |
---|---|
{% if receives.name %}
{{ receives.name }}
{% elif receives.annotation %}
{% with expression = receives.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ receives.description|convert_markdown(heading_level, html_id) }}
{% if receives.name and receives.annotation %}
{{ lang.t("TYPE:") }}
{% with expression = receives.annotation %}
|