/Doc/tools/sphinxext/download.html

http://unladen-swallow.googlecode.com/ · HTML · 60 lines · 46 code · 14 blank · 0 comment · 0 complexity · 46833a80dbee91ba50dfa4257a8b5ec3 MD5 · raw file

  1. {% extends "layout.html" %}
  2. {% set title = 'Download' %}
  3. {% set dlbase = 'http://docs.python.org/ftp/python/doc/current' %}
  4. {% block body %}
  5. <h1>Download Python {{ release }} Documentation</h1>
  6. {% if 'a' in release or 'b' in release or 'c' in release %}
  7. <p>We don't package the documentation for development releases for download.
  8. Downloads will be available for the final release.</p>
  9. {% else %}
  10. {% if last_updated %}<p><b>Last updated on: {{ last_updated }}.</b></p>{% endif %}
  11. <p>To download an archive containing all the documents for this version of
  12. Python in one of various formats, follow one of links in this table. The numbers
  13. in the table are the size of the download files in megabytes.</p>
  14. <table class="docutils">
  15. <tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr>
  16. <tr><td>PDF (US-Letter paper size)</td>
  17. <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 8 MB)</td>
  18. <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 8 MB)</td>
  19. </tr>
  20. <tr><td>PDF (A4 paper size)</td>
  21. <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 8 MB)</td>
  22. <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 8 MB)</td>
  23. </tr>
  24. <tr><td>HTML</td>
  25. <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 6 MB)</td>
  26. <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 4 MB)</td>
  27. </tr>
  28. <tr><td>Plain Text</td>
  29. <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. 2 MB)</td>
  30. <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. 1.5 MB)</td>
  31. </tr>
  32. </table>
  33. <p>These archives contain all the content in the documentation.</p>
  34. <h2>Unpacking</h2>
  35. <p>Unix users should download the .tar.bz2 archives; these are bzipped tar
  36. archives and can be handled in the usual way using tar and the bzip2
  37. program. The <a href="http://www.info-zip.org">InfoZIP</a> unzip program can be
  38. used to handle the ZIP archives if desired. The .tar.bz2 archives provide the
  39. best compression and fastest download times.</p>
  40. <p>Windows users can use the ZIP archives since those are customary on that
  41. platform. These are created on Unix using the InfoZIP zip program.</p>
  42. <h2>Problems</h2>
  43. <p>If you have comments or suggestions for the Python documentation, please send
  44. email to <a href="mailto:docs@python.org">docs@python.org</a>.</p>
  45. {% endif %}
  46. {% endblock %}