blob: c3992245614082c7a87f4f17feaed2d1d9ad95d5 [file] [log] [blame]
Georg Brandle7570052008-05-03 20:52:18 +00001{% extends "!layout.html" %}
Yury Selivanov512d7102018-09-17 19:35:30 -04002
Georg Brandle7570052008-05-03 20:52:18 +00003{% block rootrellink %}
Yury Selivanov512d7102018-09-17 19:35:30 -04004{{ super() }}
5 <li>
6 {%- if switchers is defined %}
7 <span class="language_switcher_placeholder">{{ language or 'en' }}</span>
8 <span class="version_switcher_placeholder">{{ release }}</span>
9 <a href="{{ pathto('index') }}">{% trans %}Documentation {% endtrans %}</a>{{ reldelim1 }}
10 {%- else %}
11 <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
12 {%- endif %}
Zachary Warea3090a42016-09-09 13:11:27 -070013 </li>
Zachary Warea3090a42016-09-09 13:11:27 -070014{% endblock %}
Yury Selivanov512d7102018-09-17 19:35:30 -040015
Georg Brandlaf265f42008-12-07 15:06:20 +000016{% block extrahead %}
Nick Coghlane6624452017-02-09 16:03:59 +010017 <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
Steve Dowerfb4a96a2016-09-22 17:07:56 -070018 {% if builder != "htmlhelp" %}
Yury Selivanov512d7102018-09-17 19:35:30 -040019 {% if switchers is defined and not embedded %}
20 <script type="text/javascript" src="{{ pathto('_static/switchers.js', 1) }}"></script>{% endif %}
21 {% if pagename == 'whatsnew/changelog' and not embedded %}
22 <script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
23 {% endif %}
Ezio Melotti7eb03dd2012-10-02 01:43:42 +030024
Yury Selivanov512d7102018-09-17 19:35:30 -040025 {# custom CSS; used in asyncio docs! #}
26 <style>
27 @media only screen {{ "{" }}
28 table.full-width-table {{ "{" }}
29 width: 100%;
30 {{ "}" }}
31 {{ "}" }}
32 </style>
Georg Brandlaf265f42008-12-07 15:06:20 +000033{{ super() }}
Georg Brandle7570052008-05-03 20:52:18 +000034{% endblock %}