{% extends 'classic/layout.html' -%} {# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #} {%- macro script(script_files) %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css(css_files) %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {# The files that make these builds are defined in Makefile #} {%- set css_files = ['_static/css/app.css'] -%} {%- set script_files = ['_static/app.js'] -%} {% if page_source_suffix %} {% set suffix = page_source_suffix %} {% else %} {% set suffix = source_suffix %} {% endif %} {%- block doctype %} {% endblock -%} {% block extrahead %} {% for lang in languages %} {%- if lang != language -%} {%- if has_lang(lang, pagename) -%} {%- endif -%} {%- endif -%} {% endfor %} {% endblock %} {# Use the header block to insert the CSF navbar #} {%- block header %} {# Outer wrapper for pushing the footer to the bottom #}
{% endblock -%} {%- block relbar1 %} {%- include 'relbar1.html' %} {% endblock -%} {%- block content %}
{%- if pagename != 'search' and READTHEDOCS -%} {%- endif -%} {# Document body #}
{%- if pagename != 'search' and pagename not in ('contents', 'index', '404') -%}

{{ _('Page Contents') }}

{{ toc }}
{%- endif -%}
{% block body %} {% endblock %}
{# TOC sidebar #}
{% endblock -%} {%- block footer %} {%- include 'footer.html' %}
{%- include 'versions.html' %} {%- endblock %}