{# cloud/layout.html ~~~~~~~~~~~~~~~~~ Sphinx layout template for the cloud theme. :copyright: Copyright 2009-2011 Assurance Technologies LLC :license: BSD roottarget - optional target for root link (default to toc) logotarget - optional target for logo link (defaults to root target) googleanalytics_id - if set, enabled google analytics snippet & footer googleanalytics_path - optional subpatch for GA cookie #} {% extends "basic/layout.html" %} {% set reldelim2 = reldim2 is not defined and '    ' or reldelim2 %} {# add script file to instrument collapsable sections and other features #} {% set script_files = script_files + ['_static/jquery.cookie.js', '_static/cloud.js'] %} {# add font stylesheets #} {% set css_files = css_files + [theme_fontcssurl] %} {# make root link redirectable #} {%- set theme_roottarget = (theme_roottarget == "" and master_doc or theme_roottarget) %} {% block rootrellink %}
  • {{shorttitle|e}}{{reldelim1}}
  • {% endblock %} {# make logo link redirectable #} {%- set theme_logotarget = (theme_logotarget == "" and theme_roottarget or (theme_logotarget == "" and master_doc or theme_logotarget)) %} {%- block sidebarlogo %} {%- if logo %} {%- endif %} {%- endblock %} {# wrap relbars in distinct classes to make themeing easier #} {%- block relbar1 %}
    {{ super() }}
    {% endblock %} {%- block relbar2 %}
    {{ super() }}
    {% endblock %} {% block extrahead -%} {{ super() }} {%- if theme_googleanalytics_id -%} {%- endif %} {%- endblock %} {% block body -%} {# hack to insert lang=en in scope of div.body #} {% if theme_hyphenation_langage %}
    {{ super() }}
    {% endif %} {%- endblock %} {% block sidebar2 -%} {{ super() }} {# insert markup for sidebar toggle button #} {% block sidebartoggle %} {% endblock %} {%- endblock %} {% block footer -%} {{ super() }} {%- if theme_googleanalytics_id -%} {%- endif %} {%- endblock %}