File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,16 +161,17 @@ check:
161161serve :
162162 ../Tools/scripts/serve.py build/html
163163
164- # Targets for automatic doc build
164+ # Targets for daily automated doc build
165165
166166# for development releases: always build
167167autobuild-dev :
168168 make update
169- make dist
169+ make dist SPHINXOPTS= ' -A daily=1 '
170170
171- # for stable releases: only build if not in development mode
171+ # for stable releases: only build if not in pre-release stage (alpha, beta, rc)
172172autobuild-stable :
173173 @case $(DISTVERSION ) in * [abc]* ) \
174- echo " Not building; not a release version." ; exit 1;; \
174+ echo " Not building; $( DISTVERSION) is not a release version." ; \
175+ exit 1;; \
175176 esac
176177 @make autobuild-dev
Original file line number Diff line number Diff line change 11{% extends "layout.html" %}
22{% set title = 'Download' %}
3- {% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
4- {% block body %}
3+ {% if daily is defined %}
4+ {% set dlbase = pathto('archives', 1) %}
5+ {% else %}
6+ {% set dlbase = 'http://docs.python.org/ftp/python/doc/' + release %}
7+ {% endif %}
58
9+ {% block body %}
610< h1 > Download Python {{ release }} Documentation</ h1 >
711
8- {% if 'a' in release or 'b' in release or 'c' in release %}
9- < p > We don't package the documentation for development releases for download.
10- Downloads will be available for the final release.</ p >
11-
12- {% else %}
1312{% if last_updated %}< p > < b > Last updated on: {{ last_updated }}.</ b > </ p > {% endif %}
1413
1514< p > To download an archive containing all the documents for this version of
@@ -55,6 +54,4 @@ <h2>Problems</h2>
5554
5655< p > If you have comments or suggestions for the Python documentation, please send
5756email to
< a href ="
mailto:[email protected] "
> [email protected] </ a > .
</ p > 58- {% endif %}
59-
6057{% endblock %}
You can’t perform that action at this time.
0 commit comments