{#- Carbon theme layout. Extends Sphinx's own basic layout so that everything in (metadata, stylesheets, scripts, link tags) stays maintained by Sphinx. Only the page body is replaced. -#} {%- extends "basic/layout.html" %} {%- from "partials/macros.html" import icon, copyright_lines with context %} {%- block scripts %} {{- super() }} {%- endblock %} {%- block extrahead %} {{- super() }} {%- endblock %} {#- Apply the Carbon theme zone before first paint (see carbon-sphinx.js). -#} {%- block body_tag %} {%- endblock %} {%- block header %} {{ _("Skip to main content") }} {%- include "partials/header.html" %} {%- include "partials/sidenav.html" %} {%- endblock %} {%- block relbar1 %}{% endblock %} {%- block relbar2 %}{% endblock %} {%- block content %} {%- set carbon_show_toc = theme_show_toc|tobool and display_toc %}
{%- if theme_show_breadcrumbs|tobool and parents %} {%- include "partials/breadcrumbs.html" %} {%- endif %} {%- block body %}{% endblock %} {%- if theme_show_prev_next|tobool %} {%- include "partials/pager.html" %} {%- endif %}
{%- if carbon_show_toc %} {%- include "partials/toc.html" %} {%- endif %}
{%- endblock %} {%- block footer %}{% endblock %}