summaryrefslogtreecommitdiff
path: root/Doc/tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-13 13:43:01 +0000
committerGeorg Brandl <georg@python.org>2010-03-13 13:43:01 +0000
commitcec7616e561546fc19a0fb488657a6899c17fe6c (patch)
tree9c512efa18b557449327f20f861002df5c9a6b26 /Doc/tools
parent35d0075e00cfc1d3bc6be4a53b5d4e1080111963 (diff)
downloadcpython-cec7616e561546fc19a0fb488657a6899c17fe6c.tar.gz
Merged revisions 78924 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ................ r78924 | georg.brandl | 2010-03-13 14:42:16 +0100 (Sa, 13 Mär 2010) | 9 lines Merged revisions 78921 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78921 | georg.brandl | 2010-03-13 14:39:46 +0100 (Sa, 13 Mär 2010) | 1 line Change/fix handling of docs download location: for daily builds, put them right next to the HTML. ........ ................
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/sphinxext/download.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/Doc/tools/sphinxext/download.html b/Doc/tools/sphinxext/download.html
index 22a03a0d2f..4fca13882a 100644
--- a/Doc/tools/sphinxext/download.html
+++ b/Doc/tools/sphinxext/download.html
@@ -1,15 +1,14 @@
{% extends "layout.html" %}
{% set title = 'Download' %}
-{% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
-{% block body %}
+{% if daily is defined %}
+ {% set dlbase = pathto('archives', 1) %}
+{% else %}
+ {% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
+{% endif %}
+{% block body %}
<h1>Download Python {{ release }} Documentation</h1>
-{% if 'a' in release or 'b' in release or 'c' in release %}
-<p>We don't package the documentation for development releases for download.
- Downloads will be available for the final release.</p>
-
-{% else %}
{% if last_updated %}<p><b>Last updated on: {{ last_updated }}.</b></p>{% endif %}
<p>To download an archive containing all the documents for this version of
@@ -55,6 +54,4 @@ platform. These are created on Unix using the InfoZIP zip program.</p>
<p>If you have comments or suggestions for the Python documentation, please send
email to <a href="mailto:docs@python.org">docs@python.org</a>.</p>
-{% endif %}
-
{% endblock %}