{%- if description is defined %} {% endif %} {%- if author is defined %} {% endif %} {{ title }}
{% if api is not defined %} {% set api = (('module', 'api variable is not defined', None, ''),) %} {% endif %} {{ keywords(api) }}
{% for type, name, args, doc in api %} {% set doc = wiki(doc) %} {% if type == 'module' %}

module {{ name }}

{{ doc }}
{% elif type == 'class' %}

class {{name}}

{{ doc }}
{% elif type == 'property' %}

{{ name }} {{ property_info(args)|e }}

{{ doc }}
{% elif type in ('method', 'staticmethod', 'descriptor') %}

{{ name }}{{ args }}

{{ doc }}
{% elif type == 'function' and name[0] != '_' %}

def {{ name }}{{ args|e }}

{{ doc }}
{% elif type in ('h1', 'h2', 'h3', 'h4') %} <{{ type }}>{{ name }} {% elif type == 'text' %}
{{ doc }}
{% endif %} {% endfor %}

Variables

{% for type, name, args, doc in api %} {% set doc = wiki(doc) %} {% if type == 'variable' %}

{{ name }} = {{ args|e }}

{% endif %} {% endfor %}

Generate by Jinja24doc.