@@ -42,48 +42,39 @@ <h1>{% trans %}Download Python {{ dl_version }} documentation{% endtrans %}</h1>
42
42
</ tr >
43
43
< tr >
44
44
< td > {% trans %}PDF{% endtrans %}</ td >
45
- < td > {% trans download_size="17" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
46
- < td > {% trans download_size="17" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.tar.bz2 "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
45
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.zip "> Download</ a > {% endtrans %}</ td >
46
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-pdf-a4.tar.bz2 "> Download</ a > {% endtrans %}</ td >
47
47
</ tr >
48
48
< tr >
49
49
< td > {% trans %}HTML{% endtrans %}</ td >
50
- < td > {% trans download_size="13" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-html.zip "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
51
- < td > {% trans download_size="8" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-html.tar.bz2 "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
50
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-html.zip "> Download</ a > {% endtrans %}</ td >
51
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-html.tar.bz2 "> Download</ a > {% endtrans %}</ td >
52
52
</ tr >
53
53
< tr >
54
54
< td > {% trans %}Plain text{% endtrans %}</ td >
55
- < td > {% trans download_size="4" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-text.zip "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
56
- < td > {% trans download_size="3" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-text.tar.bz2 "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
55
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-text.zip "> Download</ a > {% endtrans %}</ td >
56
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-text.tar.bz2 "> Download</ a > {% endtrans %}</ td >
57
57
</ tr >
58
58
< tr >
59
59
< td > {% trans %}Texinfo{% endtrans %}</ td >
60
- < td > {% trans download_size="9" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.zip "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
61
- < td > {% trans download_size="7" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.tar.bz2 "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
60
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.zip "> Download</ a > {% endtrans %}</ td >
61
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs-texinfo.tar.bz2 "> Download</ a > {% endtrans %}</ td >
62
62
</ tr >
63
63
< tr >
64
64
< td > {% trans %}EPUB{% endtrans %}</ td >
65
- < td > {% trans download_size="6" %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs.epub "> Download</ a > (ca. {{ download_size }} MiB) {% endtrans %}</ td >
65
+ < td > {% trans %}< a href ="{{ dl_base }}/python-{{ dl_version }}-docs.epub "> Download</ a > {% endtrans %}</ td >
66
66
< td > </ td >
67
67
</ tr >
68
68
</ table >
69
69
70
- < p > {% trans %}These archives contain all the content in the documentation.{% endtrans %}</ p >
71
-
72
-
73
- < h2 > {% trans %}Unpacking{% endtrans %}</ h2 >
74
-
75
- < p > {% trans %}Unix users should download the .tar.bz2 archives; these are bzipped tar
76
- archives and can be handled in the usual way using tar and the bzip2
77
- program. The < a href ="https://infozip.sourceforge.net "> Info-ZIP</ a > unzip program can be
78
- used to handle the ZIP archives if desired. The .tar.bz2 archives provide the
79
- best compression and fastest download times.{% endtrans %}</ p >
80
-
81
- < p > {% trans %}Windows users can use the ZIP archives since those are customary on that
82
- platform. These are created on Unix using the Info-ZIP zip program.{% endtrans %}</ p >
83
-
70
+ {% set archives = pathto('archives')|replace('.html', '/') %}
71
+ < p > {% trans archives = archives %}These archives contain all the content in the
72
+ documentation.
73
+ See the < a href ="{{ archives }} "> directory listing</ a > for accurate size
74
+ information.{% endtrans %}</ p >
84
75
85
76
< h2 > {% trans %}Problems{% endtrans %}</ h2 >
86
-
87
- < p > {% trans %}If you have comments or suggestions for the Python documentation, please send
88
- email to < a href =" mailto:[email protected] " > [email protected] </ a > .{% endtrans %}
</ p >
77
+ {% set bugs = pathto('bugs') %}
78
+ < p > {% trans bugs = bugs %}See < a href =" {{ bugs }} " > this page </ a > if you
79
+ have comments or suggestions for the Python documentation .{% endtrans %}</ p >
89
80
{% endblock %}
0 commit comments