{{ log.debug("Rendering parameters section") }} {% if config.docstring_section_style == "table" %} {% block table_style %}
{{ section.title or "Parameters" }}
{% for parameter in section.value %} {% endfor %}
Parameter Default Description
{{ parameter.name }}
{% if parameter.annotation %} {% with expression = parameter.annotation %} {% include "expression.html" with context %} {% endwith %} {% endif %}
{% if parameter.default %} {% with expression = parameter.default %} {% include "expression.html" with context %} {% endwith %} {% else %} required {% endif %} {{ parameter.description|convert_markdown(heading_level, html_id) }}
{% endblock table_style %} {% elif config.docstring_section_style == "list" %} {% block list_style %}

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

{% endblock list_style %} {% elif config.docstring_section_style == "spacy" %} {% block spacy_style %} {% for parameter in section.value %} {% endfor %}
{{ (section.title or "PARAMETER").rstrip(":").upper() }} DESCRIPTION
{{ parameter.name }} {{ parameter.description|convert_markdown(heading_level, html_id) }}

{% if parameter.annotation %} TYPE: {% with expression = parameter.annotation %} {% include "expression.html" with context %} {% endwith %} {% endif %} {% if parameter.default %} DEFAULT: {% with expression = parameter.default %} {% include "expression.html" with context %} {% endwith %} {% endif %}

{% endblock spacy_style %} {% endif %}