{#- 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 %}