{# basic/layout.html ~~~~~~~~~~~~~~~~~ Master layout template for Sphinx themes. :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {%- block doctype -%} {%- endblock %} {%- 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) %} {%- set script_files = ['_static/assets/js/jquery-1.10.1.min.js', '_static/assets/js/bootstrap.js', '_static/assets/js/prettify.js', '_static/assets/js/lightbox.js', '_static/assets/js/main.js', '_static/underscore.js', '_static/doctools.js', '_static/twitter.js', '_static/searchtools.js'] %} {# 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() %}
{%- block rootrellink %} {{ shorttitle|e }}
{%- endblock %}
{%- endmacro %} {%- macro sidebar() %} {%- if render_sidebar %}
{%- endif %} {%- endmacro %} {%- macro script() %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css() %} {%- set css_files = ['_static/assets/css/theme_venera_blue.css', '_static/pygments.css', '_static/substanced.css'] %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {{ metatags }} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {%- endblock %} {{ css() }} {%- if not embedded %} {%- if use_opensearch %} {%- endif %} {%- if favicon %} {%- endif %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if parents %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {%- block extrahead %} {%- if theme_favicon %} {%- endif %} {%- if theme_canonical_url %} {%- endif %} {% endblock %}
Pre-release
{%- block header %} {% if theme_in_progress|tobool %} Documentation in progress {% endif %} {% if theme_outdated|tobool %} Documentation is outdated {% endif %} {% if display_github %} Edit me on GitHub {% endif %} {% endblock %}
{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block content %} {%- block sidebar1 %}{{ sidebar() }}{% endblock %}
{%- block document %} {%- if render_sidebar %} {%- endif %} {% block body %} {% endblock %} {%- if render_sidebar %} {%- endif %} {%- endblock %}
{%- block sidebar2 %}{# possible location for sidebar #}{% endblock %} {%- endblock %}
{%- block relbar2 %}{{ relbar() }}{% endblock %}
{%- block footer %} {%- endblock %} {%- block script %}{{ script() }}{% endblock %} {%- block extraend %}{% endblock %}