{{ log.debug("Rendering parameters section") }} {% if config.docstring_section_style == "table" %} {% block table_style %}
Name | Type | Description | Default |
---|---|---|---|
{{ parameter.name }} |
{% if parameter.annotation %}
{% with expression = parameter.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ parameter.description|convert_markdown(heading_level, html_id) }} |
{% if parameter.default %}
{% with expression = parameter.default %}
{% include "expression.html" with context %}
{% endwith %}
{% else %}
required
{% endif %}
|
{{ section.title or "Parameters:" }}
{% include "expression.html" with context %}
)
{% endwith %}
{% endif %}
– {{ parameter.description|convert_markdown(heading_level, html_id) }}
{{ (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 %}
|