{# Strip out the default script files we provide, but keep some, like mathjax. #} {% set script_files = [] %} {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- macro sidebar() %}
{%- if logo %} {%- endif %} {% if theme_github_repo %}

GitHub Repository

{% endif %}

Docs for last release

Docs for master branch

{%- block sidebartoc %} {%- include "localtoc.html" %} {%- endblock %} {%- block sidebarrel %} {%- include "relations.html" %} {%- endblock %}
{%- endmacro %} {{ title|striptags|e }}{{ titlesuffix }} {%- for cssfile in css_files %} {%- endfor %} {%- for scriptfile in script_files %} {%- endfor %} {%- block content %} {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
{%- block document %}
{% block body %} {% endblock %}
{%- endblock %} {%- block sidebar2 %}{{ sidebar() }}{% endblock %}
{%- endblock %} {% macro relbar() %}{% endmacro %} {%- block relbar2 %}{{ relbar() }}{% endblock %} {% if not using_theme %} {# Keep this here, so that the RTD logo doesn't stomp on the bottom of the theme. #}


{% endif %}