{# The Primary Template (Jinja Overlay) #} {# #} {# Master layout template for Sphinx themes. #} {# #} {# The following tags are provided within the base template : #} {# #} {# Structural Tags #} {# #} {# html - Allows one to substitute the entire document #} {# head - Allows substitution of the HTML headers #} {# body - Allows substitution of the HTML content #} {# #} {# Document Structure #} {# #} {# header #} {# body #} {# footer #} {# #} {# :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. #} {# :license: BSD, see LICENSE for details. #} {# #} {{ '{% extend base.html %}' }} {%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %} {%- set url_root = pathto('', 1) %} {# XXX necessary? #} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- macro relbar() %}
{%- endmacro %} {%- macro sidebar() %} {%- if render_sidebar %} {%- endif %} {%- endmacro %} {%- macro script() %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css() %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {{ '{% block dtd %}' }} {%- block doctype -%} {%- endblock doctype %} {{ '{% endblock dtd %}' }} {{ '{% block html %}' }} {{ '{% block html_open %}' }}{{ '{% endblock html_open %}' }} {{ '{% block head %}' }} {% block browser %} {% endblock browser %} {{ '{% block site %}' }} {% block site %} {{ '{% block site_icon %}' }}{{ '{% endblock site_icon %}' }} {{ '{% block site_prefix %}' }}{{ '{% endblock site_prefix %}' }} {{ '{% block site_title %}' }} {%- block htmltitle %}{# block site_title #}