{% extends "basic/layout.html" %} {% set theme_css_files = [] %} {% if theme_bootstrap_version == "3" %} {% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.3.6", "theme", "" %} {% set bs_span_prefix = "col-md-" %} {% else %} {% set bootstrap_version, bootstrap_additional_css, navbar_version = "2.3.2", "responsive", "-2" %} {% set bs_span_prefix = "span" %} {% endif %} {% set theme_css_files = theme_css_files + [ '_static/bootstrap-' + bootstrap_version + '/css/bootstrap.min.css', '_static/bootstrap-sphinx.css', '_static/esnet/esnet.css' ] %} {% if not bootswatch_css_custom %} {% set bootswatch_css_custom = [] %} {% endif %} {% set css_files = css_files + theme_css_files + bootswatch_css_custom %} {% set script_files = script_files + [ '_static/js/jquery-1.11.0.min.js', '_static/js/jquery-fix.js', '_static/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js', '_static/bootstrap-sphinx.js' ] %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and sidebars %} {# set render_sidebar = True %} {%- set sidebars = ['localtoc.html', 'sourcelink.html', 'searchbox.html'] #} {%- set bs_content_width = render_sidebar and "9" or "9"%} {%- block doctype -%} {%- endblock %} {# Sidebar: Rework into our Bootstrap nav section. #} {% macro navBar() %} {% include "navbar" + navbar_version + ".html" %} {% endmacro %} {% if theme_bootstrap_version == "3" %} {%- macro bsidebar() %} {%- if render_sidebar %}