module {{ name }}
{{ doc }}
{% elif type == 'class' %}
class {{name}}
{{ doc }}
{% elif type == 'property' %}
{{ name }} {{ property_info(args) }}
{{ doc }}
{% elif type in ('method', 'descriptor') %}
{{ name }}{{ args }}
{{ doc }}
{% elif type == 'function' and name[0] != '_' %}
def {{ name }}{{ args }}
{{ doc }}
{% elif type in ('h1', 'h2', 'h3', 'h4') %}
<{{ type }}>{{ name }}
{% elif type == 'text' %}
{{ doc }}
{% endif %}
{% endfor %}