Table of Contents
{% block sidebartitle %} {% include "searchbox.html" %} {% endblock %}
{% block menu %} {% if 'singlehtml' not in builder %} {% set global_toc = toctree(collapse=theme_collapse_navigation|tobool, includehidden=theme_includehidden|tobool, titles_only=theme_titles_only|tobool) %} {% endif %} {% if global_toc %} {{ global_toc|replace("
    ", "
      ") }} {% else %}
      {{ toc|replace("
        ", "
          ") }}
      {% endif %} {% endblock %}