forked from python/docsbuild-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindexsidebar.html
More file actions
30 lines (29 loc) · 1.31 KB
/
indexsidebar.html
File metadata and controls
30 lines (29 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{#
Beware, this file is rendered twice via Jinja2:
- First by build_docs.py, given 'current_version' and 'versions'.
- A 2nd time by Sphinx.
#}
{% raw %}
<h3>{% trans %}Download{% endtrans %}</h3>
<p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
{% endraw %}
{% if current_version.status != "EOL" %}
{% raw %}<h3>{% trans %}Docs by version{% endtrans %}</h3>{% endraw %}
<ul>
{% for version in versions %}
<li><a href="{{ version.url }}">{{ version.title }}</a></li>
{% endfor %}
{% raw %}<li><a href="https://www.python.org/doc/versions/">{% trans %}All versions{% endtrans %}</a></li>{% endraw %}
</ul>
{% endif %}
{% raw %}
<h3>{% trans %}Other resources{% endtrans %}</h3>
<ul>
{# XXX: many of these should probably be merged in the main docs #}
<li><a href="https://www.python.org/dev/peps/">{% trans %}PEP Index{% endtrans %}</a></li>
<li><a href="https://wiki.python.org/moin/BeginnersGuide">{% trans %}Beginner's Guide{% endtrans %}</a></li>
<li><a href="https://wiki.python.org/moin/PythonBooks">{% trans %}Book List{% endtrans %}</a></li>
<li><a href="https://www.python.org/doc/av/">{% trans %}Audio/Visual Talks{% endtrans %}</a></li>
<li><a href="https://devguide.python.org/">{% trans %}Python Developer’s Guide{% endtrans %}</a></li>
</ul>
{% endraw %}