{% set level = level + 1 %} {% if docstring['sections']['header'] %} {% for content in docstring['sections']['header'] %} {{ content['content']|pdoc|replace('\n', '
') }} {% endfor %} {% endif %} {% for section, data in docstring['sections'].items() %} {% if function and section != 'header' and section != 'returns' %}

{{ section|title }}

{% for entry in data %} {% endfor %}
Name Type Description
{{ entry['name'] }} {% if entry['type'] %}{{ entry['type']|pdoc }}{% endif %} {{ entry['content']|pdoc }}
{% elif section != 'header' %}

{{ section|title }}

{% if data[0]['name'] %}
{% for entry in data %}
{{ entry['name'] }} {% if entry['type'] %}({{ entry['type']|pdoc }}){% endif %}
{{ entry['content']|pdoc }}
{% endfor %}
{% else %} {% for content in data %} {{ content['content']|pdoc|replace('\n', '
') }} {% endfor %} {% endif %} {% endif %} {% endfor %} {% set level = level - 1 %}