Skip to content
Myr

genindex.html

This file

Path

docs/_templates/genindex.html

36 lines · 1.1 KiB · HTML

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than cb1b97f point at it.

It's now possible to use ``{{ foo.0.0 }}``Armin Ronacherbefore adoptioncb1b97f

lines 1–36why, one step back
1{% extends "layout.html" %}
2{% set title = 'Index' %}3{% block body %}45 <h1 id="index">Index</h1>67 {% for key, dummy in genindexentries -%}8 <a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| {% endif %}9 {%- endfor %}10 <hr>1112 {% for key, entries in genindexentries %}13 <h2 id="{{ key }}">{{ key }}</h2>14 <table class="indextable"><tr>15 {%- for column in entries|slice(2) if column %}16 <td><dl>17 {%- for entryname, (links, subitems) in column %}18 <dt>{% if links %}<a href="{{ links[0] }}">{{ entryname|e }}</a>19 {% for link in links[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor %}20 {%- else %}{{ entryname|e }}{% endif %}</dt>21 {%- if subitems %}22 <dd><dl>23 {%- for subentryname, subentrylinks in subitems %}24 <dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a>25 {%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor -%}26 </dt>27 {%- endfor %}28 </dl></dd>29 {%- endif -%}30 {%- endfor %}31 </dl></td>32 {%- endfor %}33 </tr></table>34 {% endfor %}3536{% endblock %}