{{ log.debug("Rendering yields 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("Yields:") }}
| {{ lang.t("Name") }}{% endif %} | {{ lang.t("Type") }} | {{ lang.t("Description") }} | 
|---|---|---|
| {% if yields.name %} {% endif %}{{ yields.name }}{% endif %} | {% if yields.annotation %}
              {% with expression = yields.annotation %} {% include "expression.html" with context %}{% endwith %}
            {% endif %} | 
              {{ yields.description|convert_markdown(heading_level, html_id) }}
             | 
{{ section.title or lang.t("Yields:") }}
{{ yields.name }}{% endif %}
        {% if yields.annotation %}
          {% with expression = yields.annotation %}
            {% if yields.name %} ({% endif %}
            {% include "expression.html" with context %}
            {% if yields.name %}){% endif %}
          {% endwith %}
        {% endif %}
        –
        | {{ (section.title or lang.t("YIELDS")).rstrip(":").upper() }} | {{ lang.t("DESCRIPTION") }} | 
|---|---|
| {% if yields.name %} {{ yields.name }}{% elif yields.annotation %}
              
                {% with expression = yields.annotation %}{% include "expression.html" with context %}{% endwith %}
              
            {% endif %} | 
              {{ yields.description|convert_markdown(heading_level, html_id) }}
            {% if yields.name and yields.annotation %} 
                
                  {{ lang.t("TYPE:") }}:
                  {% with expression = yields.annotation %}
                     |