{% extends 'sphinxdoc/documentation.html' %} {% block doc_body %}

General Index

{% for letter, _ in doc.genindexentries %} {{ letter }} {% if not forloop.last %} •{% endif %} {% endfor %}

{% for letter, entries in doc.genindexentries %}

{{ letter }}

{% for name, contents in entries %}
{# contents.0 is a list of links for the item #} {% if contents.0 %} {{ name }} {% else %} {{ name }} {% endif %}
{# contents.1 is a list of subitems #} {% if contents.1 %} {% for subname, sublinks in contents.1 %}
{{ subname }} {% for link in sublinks|slice:"1:" %}, [Link]{% endfor %}
{% endfor %} {% endif %} {% endfor %}
{% endfor %}
{% endblock doc_body %} {% block doc_toc %}{% endblock %}