{% extends "base.html" %} {% import "macros/search.html" as search %} {% block title %}{{ page.title }}: roro9stack{% endblock %} {% block description %}{{ page.description }}{% endblock %} {% block head %}{% endblock %} {% block main %} {# The whole index is in this page (issue #60): nothing is fetched, and without JavaScript it is still a list of every page and heading of the documentation. js/search.js filters it. #}
Documentation

{{ page.title }}

{{ page.description }}

Every page of the documentation and its headings. With JavaScript on, the box above searches their text.

{% set guide = get_section(path="guide/_index.md") %}

{{ guide.title }}

    {% for p in guide.pages %}{{ search::entries(page=p, group="Guide") }}{% endfor %}
{% set howto = get_section(path="howto/_index.md") %}

{{ howto.title }}

    {% for p in howto.pages %}{{ search::entries(page=p, group="How-to") }}{% endfor %}

Questions and answers

    {{ search::entries(page=get_page(path="faq.md"), group="FAQ") }}
{% set dev = get_section(path="dev/_index.md") %} {% for path in dev.subsections %} {% set sub = get_section(path=path) %}

Developers: {{ sub.title }}

    {% for p in sub.pages %}{{ search::entries(page=p, group=sub.extra.search | default(value=sub.title)) }}{% endfor %}
{% endfor %}
{% endblock main %}