{% for entry in index_entries %}
{% with entry.0 as modname %}
{% with entry.1 as has_submodule %}
{% with entry.2 as collapse_group %}
{% with entry.3 as is_topmodule %}
{% with entry.4 as refpath %}
{% with entry.5 as synopsis %}
{% with entry.6 as platforms %}
{% with entry.7 as deprecated %}
{% with entry.8 as stripped_modname %}
{% with entry.9 as domain %}
{% if not modname %}
{{ refpath }}
{% else %}
{% if domain %}[{{ domain }}]{% endif %}
{% if refpath %}{{ modname }}{% else %}{{ modname }}{% endif %}
{% endif %}
{% if synopsis %}{{ synopsis }}{% endif %}
{% if platforms %}{{ platforms|join:", " }}{% endif %}
{% if deprecated %}(deprecated){% endif %}