{% macro automodule(name) %} {% set m = autodoc.automodule(name) %} {% for obj in m.members %} {% if obj.type=="function" %} {{ render_function(obj, name) }} {% elif obj.type=="class" %} {{ render_class(obj) }} {% endif %} {% endfor %} {% endmacro %} {% macro render_class(obj) %}
Inherits from {{ ", ".join(obj.bases) }} {% endif %}
Public API
/api/method/{{ full_name }}
{{ module_name + "." if module_name else "" }}{{ obj.name }} ({{ print_args(obj.args) if obj.args else "" }})