{% set page = 'templates' %}{% include "_header.html" %} {% set api = load_module('context') %} {% do keywords(api, types = ('class', 'method', 'function')) %} {% set sections = load_rst("templates.rst") %} {% set api = sections + api %} {% for type, name, args, doc in api %} {% if type == 'module' %}

Module {{ name }}

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

def {{ name }}

{% elif type == 'h2' %}

{{ name }}

{% elif type == 'h3' %}

{{ name }}

{% endif %} {% endfor %}
{% for type, name, args, doc in api %} {% if type == 'text' %}
{{ doc }}
{% endif %} {% endfor %} {% include "_reference.html" %}
{% include "_footer.html" %}