blob: ec29ca2885dbbf32d2a5c44aa629bf4af6e4b5eb [file] [log] [blame]
Georg Brandl4f1f36b2008-04-27 20:03:05 +00001{% extends "!layout.html" %}
2{% block rootrellink %}
Georg Brandl62129712008-12-07 11:54:07 +00003 <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
4 style="vertical-align: middle; margin-top: -1px"/></li>
Georg Brandl42bf4862014-10-29 08:36:15 +01005 <li><a href="https://www.python.org/">Python</a>{{ reldelim1 }}</li>
Ezio Melotti3d072062012-10-27 22:04:56 +03006 <li>
7 {%- if versionswitcher is defined %}
8 <span class="version_switcher_placeholder">{{ release }}</span>
9 <a href="{{ pathto('index') }}">Documentation</a>{{ reldelim1 }}
10 {%- else %}
11 <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
12 {%- endif %}
13 </li>
Georg Brandl62129712008-12-07 11:54:07 +000014{% endblock %}
Georg Brandl0fef31e2014-03-25 10:12:47 +010015{% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
16{% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %}
Georg Brandl62129712008-12-07 11:54:07 +000017{% block extrahead %}
18 <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
Ezio Melottif5ea48f2012-02-25 19:24:24 +020019 {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
Ezio Melotti3d072062012-10-27 22:04:56 +030020 {% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}
Georg Brandl62129712008-12-07 11:54:07 +000021{{ super() }}
Georg Brandl0fef31e2014-03-25 10:12:47 +010022 {% if builder == 'qthelp' %}
23 <style type="text/css">
24 body { background-color: white; }
25 div.document { background-color: white; }
26 </style>
27 {% endif %}
Georg Brandl4f1f36b2008-04-27 20:03:05 +000028{% endblock %}
Georg Brandl4809c732009-08-04 20:22:43 +000029{% block footer %}
30 <div class="footer">
31 &copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}.
32 <br />
Ezio Melotti3d072062012-10-27 22:04:56 +030033 The Python Software Foundation is a non-profit corporation.
Georg Brandl42bf4862014-10-29 08:36:15 +010034 <a href="https://www.python.org/psf/donations/">Please donate.</a>
Georg Brandl4809c732009-08-04 20:22:43 +000035 <br />
36 Last updated on {{ last_updated|e }}.
Georg Brandle11d85c2010-04-22 22:15:33 +000037 <a href="{{ pathto('bugs') }}">Found a bug</a>?
38 <br />
Georg Brandl4809c732009-08-04 20:22:43 +000039 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version|e }}.
40 </div>
41{% endblock %}
Georg Brandle11d85c2010-04-22 22:15:33 +000042{% block sidebarsourcelink %}
43{%- if show_source and has_source and sourcename %}
44<h3>{{ _('This Page') }}</h3>
45<ul class="this-page-menu">
46 <li><a href="{{ pathto('bugs') }}">Report a Bug</a></li>
47 <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
48 rel="nofollow">Show Source</a></li>
49</ul>
50{%- endif %}
51{% endblock %}