Georg Brandl | 4f1f36b | 2008-04-27 20:03:05 +0000 | [diff] [blame] | 1 | {% extends "!layout.html" %} |
| 2 | {% block rootrellink %} |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 3 | <li><img src="{{ pathto('_static/py.png', 1) }}" alt="" |
| 4 | style="vertical-align: middle; margin-top: -1px"/></li> |
Georg Brandl | 42bf486 | 2014-10-29 08:36:15 +0100 | [diff] [blame] | 5 | <li><a href="https://www.python.org/">Python</a>{{ reldelim1 }}</li> |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame] | 6 | <li> |
| 7 | {%- if versionswitcher is defined %} |
| 8 | <span class="version_switcher_placeholder">{{ release }}</span> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 9 | <a href="{{ pathto('index') }}">{% trans %}Documentation{% endtrans %}</a>{{ reldelim1 }} |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame] | 10 | {%- else %} |
| 11 | <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }} |
| 12 | {%- endif %} |
| 13 | </li> |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 14 | {% endblock %} |
Georg Brandl | 0fef31e | 2014-03-25 10:12:47 +0100 | [diff] [blame] | 15 | {% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} |
| 16 | {% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 17 | {% block extrahead %} |
| 18 | <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" /> |
Nick Coghlan | 4e1e30d | 2017-02-09 17:00:31 +0100 | [diff] [blame^] | 19 | <link rel="canonical" href="https://docs.python.org/2/{{pagename}}.html" /> |
Ezio Melotti | f5ea48f | 2012-02-25 19:24:24 +0200 | [diff] [blame] | 20 | {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %} |
Ezio Melotti | 3d07206 | 2012-10-27 22:04:56 +0300 | [diff] [blame] | 21 | {% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %} |
Georg Brandl | 6212971 | 2008-12-07 11:54:07 +0000 | [diff] [blame] | 22 | {{ super() }} |
Georg Brandl | 0fef31e | 2014-03-25 10:12:47 +0100 | [diff] [blame] | 23 | {% if builder == 'qthelp' %} |
| 24 | <style type="text/css"> |
| 25 | body { background-color: white; } |
| 26 | div.document { background-color: white; } |
| 27 | </style> |
| 28 | {% endif %} |
Georg Brandl | 4f1f36b | 2008-04-27 20:03:05 +0000 | [diff] [blame] | 29 | {% endblock %} |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 30 | {% block footer %} |
| 31 | <div class="footer"> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 32 | © <a href="{{ pathto('copyright') }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright|e }}. |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 33 | <br /> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 34 | {% trans %}The Python Software Foundation is a non-profit corporation.{% endtrans %} |
| 35 | <a href="https://www.python.org/psf/donations/">{% trans %}Please donate.{% endtrans %}</a> |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 36 | <br /> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 37 | {% trans last_update=last_updated|e %}Last updated on {{ last_update }}.{% endtrans %} |
| 38 | {% trans pathto_bugs=pathto('bugs') %}<a href="{{ pathto_bugs }}">Found a bug</a>?{% endtrans %} |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 39 | <br /> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 40 | {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} |
Georg Brandl | 4809c73 | 2009-08-04 20:22:43 +0000 | [diff] [blame] | 41 | </div> |
| 42 | {% endblock %} |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 43 | {% block sidebarsourcelink %} |
| 44 | {%- if show_source and has_source and sourcename %} |
| 45 | <h3>{{ _('This Page') }}</h3> |
| 46 | <ul class="this-page-menu"> |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 47 | <li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li> |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 48 | <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" |
Victor Stinner | b492984 | 2016-01-23 12:55:11 +0100 | [diff] [blame] | 49 | rel="nofollow">{% trans %}Show Source{% endtrans %}</a></li> |
Georg Brandl | e11d85c | 2010-04-22 22:15:33 +0000 | [diff] [blame] | 50 | </ul> |
| 51 | {%- endif %} |
| 52 | {% endblock %} |