{%- block doctype -%}{%- if html5_doctype %} {%- else %} {%- endif %}{%- endblock %} {%- set url_root = pathto('', 1) %} {# XXX necessary? #} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- macro css() %} {%- for css in css_files %} {%- if css|attr("rel") %} {%- else %} {%- endif %} {%- endfor %} {% if theme_canonical_url %} {% endif %} {%- endmacro %} {%- macro script() %} {# XXX Sphinx 1.8.0 made this an external js-file, quick fix until we refactor the template to inherert more blocks directly from sphinx #} {% if sphinx_version >= "1.8.0" %} {%- for scriptfile in script_files %} {{ js_tag(scriptfile) }} {%- endfor %} {% else %} {% include "documentation_options.html" %} {%- for scriptfile in script_files %} {%- endfor %} {% endif %} {%- endmacro %} {{ project }} documentation {%- block css_basic %} {{- css() }} {%- endblock %} {%- block css %} {%- endblock %} {%- block scripts %} {{- script() }} {%- endblock %} {%- block extrahead %} {% endblock %}
{% if theme_github_banner|lower != 'false' %} Fork me on GitHub {% endif %}
{% block logo %} {{ project_gui_name|default(project) }} {% endblock %}
  • DOCS NAVIGATION
  • {{ toctree(includehidden=true, collapse=true) }}
{% if theme_github_user and theme_github_repo %} {% if theme_github_button|lower == 'true' %}

Watch us on GitHub

{% endif %} {% endif %} {%- block sidebarsearch %} {%- include "searchbox.html" %} {%- endblock %}

{{ project }} documentation

{%- block content %} {%- block document %} {% block body %} {% endblock %} {%- endblock %} {%- endblock %}
{% block footer %}
{% block additional_information %} {% endblock %}
© {{ copyright }}

{% endblock %}
{% include "rtd-versions.html" %}