{% block body %}{% endblock %}
{%- if self.comments()|trim %}
{%- block comments %}{% endblock %}
{%- endif%}
{# TEMPLATE VAR SETTINGS #}
{%- set url_root = pathto('', 1) %}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- if not embedded and docstitle %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %}
{# Build sphinx_version_info tuple from sphinx_version string in pure Jinja #}
{%- set (_ver_major, _ver_minor) = (sphinx_version.split('.') | list)[:2] | map('int') -%}
{%- set sphinx_version_info = (_ver_major, _ver_minor, -1) -%}
= (7, 2) %} data-content_root="{{ content_root }}"{% endif %}>
{%- if READTHEDOCS and not embedded %}
{%- endif %}
{{- metatags }}
{%- block htmltitle %}
{{ title|striptags|e }}{{ titlesuffix }}
{%- endblock -%}
{#- CSS #}
{%- for css_file in css_files %}
{%- if css_file|attr("filename") %}
{{ css_tag(css_file) }}
{%- else %}
{%- endif %}
{%- endfor %}
{#
"extra_css_files" is an undocumented Read the Docs theme specific option.
There is no need to check for ``|attr("filename")`` here because it's always a string.
Note that this option should be removed in favor of regular ``html_css_files``:
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_css_files
#}
{%- for css_file in extra_css_files %}
{%- endfor -%}
{#- FAVICON #}
{%- if favicon_url %}
{%- endif %}
{#- CANONICAL URL (deprecated) #}
{%- if theme_canonical_url and not pageurl %}
{%- endif -%}
{#- CANONICAL URL #}
{%- if pageurl %}
{%- endif -%}
{#- JAVASCRIPTS #}
{%- block scripts %}
{%- if not embedded %}
{%- for scriptfile in script_files %}
{{ js_tag(scriptfile) }}
{%- endfor %}
{%- if READTHEDOCS or DEBUG %}
{%- endif %}
{#- OPENSEARCH #}
{%- if use_opensearch %}
{%- endif %}
{%- endif %}
{%- endblock %}
{%- block linktags %}
{%- if hasdoc('about') %}
{%- endif %}
{%- if hasdoc('genindex') %}
{%- endif %}
{%- if hasdoc('search') %}
{%- endif %}
{%- if hasdoc('copyright') %}
{%- endif %}
{%- if next %}
{%- endif %}
{%- if prev %}
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
{%- block extrabody %} {% endblock %}
{#- SIDE NAV, TOGGLES ON MOBILE #}
{#- MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
{#- Translators: This is an ARIA section label for the navigation menu that is visible when viewing the page on mobile devices -#}
{%- block content %}
{%- if theme_style_external_links|tobool %}
{%- else %}
{%- endif %}
{% include "breadcrumbs.html" %}
{%- block document %}
{% block body %}{% endblock %}
{%- if self.comments()|trim %}
{%- block comments %}{% endblock %}
{%- endif%}
{%- endblock %}
{% include "footer.html" %}
{%- endblock %}
{% include "versions.html" -%}
{#- Do not conflict with RTD insertion of analytics script #}
{%- if not READTHEDOCS %}
{%- if theme_analytics_id %}
{%- endif %}
{%- endif %}
{%- block footer %} {% endblock %}