{{ log.debug() }} {% if config.docstring_section_style == "table" %} {% set name_column = section.value|selectattr("name")|any %}

{{ section.title or "Yields:" }}

{% if name_column %}{% endif %} {% for yields in section.value %} {% if name_column %}{% endif %} {% endfor %}
NameType Description
{% if yields.name %}{{ 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) }}
{% elif config.docstring_section_style == "list" %}

{{ section.title or "Yields:" }}

{% elif config.docstring_section_style == "spacy" %} {% for yields in section.value %} {% endfor %}
YIELDS 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 %}

TYPE: {% with expression = yields.annotation %} {% include "expression.html" with context %} {% endwith %}

{% endif %}
{% endif %}