Georg Brandl | e757005 | 2008-05-03 20:52:18 +0000 | [diff] [blame] | 1 | {% extends "!layout.html" %} |
Jon Wayne Parrott | bf63e8d | 2018-03-01 13:02:50 -0800 | [diff] [blame] | 2 | |
Georg Brandl | e757005 | 2008-05-03 20:52:18 +0000 | [diff] [blame] | 3 | {% block rootrellink %} |
Jon Wayne Parrott | bf63e8d | 2018-03-01 13:02:50 -0800 | [diff] [blame] | 4 | {{ 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 Ware | a3090a4 | 2016-09-09 13:11:27 -0700 | [diff] [blame] | 13 | </li> |
Zachary Ware | a3090a4 | 2016-09-09 13:11:27 -0700 | [diff] [blame] | 14 | {% endblock %} |
Jon Wayne Parrott | bf63e8d | 2018-03-01 13:02:50 -0800 | [diff] [blame] | 15 | |
Georg Brandl | af265f4 | 2008-12-07 15:06:20 +0000 | [diff] [blame] | 16 | {% block extrahead %} |
Nick Coghlan | e662445 | 2017-02-09 16:03:59 +0100 | [diff] [blame] | 17 | <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" /> |
Steve Dower | fb4a96a | 2016-09-22 17:07:56 -0700 | [diff] [blame] | 18 | {% if builder != "htmlhelp" %} |
Jon Wayne Parrott | bf63e8d | 2018-03-01 13:02:50 -0800 | [diff] [blame] | 19 | {% 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 %} |
Steve Dower | fb4a96a | 2016-09-22 17:07:56 -0700 | [diff] [blame] | 23 | {% endif %} |
Yury Selivanov | 394374e | 2018-09-17 15:35:24 -0400 | [diff] [blame^] | 24 | |
| 25 | {# 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 Brandl | af265f4 | 2008-12-07 15:06:20 +0000 | [diff] [blame] | 33 | {{ super() }} |
Georg Brandl | e757005 | 2008-05-03 20:52:18 +0000 | [diff] [blame] | 34 | {% endblock %} |