File tree Expand file tree Collapse file tree 5 files changed +14
-173
lines changed Expand file tree Collapse file tree 5 files changed +14
-173
lines changed Original file line number Diff line number Diff line change @@ -215,12 +215,12 @@ serve:
215215
216216# for development releases: always build
217217autobuild-dev :
218- make dist SPHINXOPTS=' $(SPHINXOPTS) -Ea -A daily=1 -A switchers=1 '
218+ make dist SPHINXOPTS=' $(SPHINXOPTS) -Ea -A daily=1'
219219 -make suspicious
220220
221221# for quick rebuilds (HTML only)
222222autobuild-dev-html :
223- make html SPHINXOPTS=' $(SPHINXOPTS) -Ea -A daily=1 -A switchers=1 '
223+ make html SPHINXOPTS=' $(SPHINXOPTS) -Ea -A daily=1'
224224
225225# for stable releases: only build if not in pre-release stage (alpha, beta)
226226# release candidate downloads are okay, since the stable tree can be in that stage
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66{% trans %}CPython implementation detail:{% endtrans %}
77{% trans %}Deprecated since version {deprecated}, will be removed in version {removed}{% endtrans %}
88{% trans %}Deprecated since version {deprecated}, removed in version {removed}{% endtrans %}
9+
10+
11+ In docsbuild-scripts, when rewriting indexsidebar.html with actual versions:
12+
13+ {% trans %}in development{% endtrans %}
14+ {% trans %}pre-release{% endtrans %}
15+ {% trans %}stable{% endtrans %}
16+ {% trans %}security-fixes{% endtrans %}
17+ {% trans %}EOL{% endtrans %}
Original file line number Diff line number Diff line change @@ -2,12 +2,8 @@ <h3>{% trans %}Download{% endtrans %}</h3>
22< p > < a href ="{{ pathto('download') }} "> {% trans %}Download these documents{% endtrans %}</ a > </ p >
33< h3 > {% trans %}Docs by version{% endtrans %}</ h3 >
44< ul >
5- < li > < a href ="https://docs.python.org/3.10/ "> {% trans %}Python 3.10 (in development){% endtrans %}</ a > </ li >
6- < li > < a href ="https://docs.python.org/3.9/ "> {% trans %}Python 3.9 (pre-release){% endtrans %}</ a > </ li >
7- < li > < a href ="https://docs.python.org/3.8/ "> {% trans %}Python 3.8 (stable){% endtrans %}</ a > </ li >
8- < li > < a href ="https://docs.python.org/3.7/ "> {% trans %}Python 3.7 (stable){% endtrans %}</ a > </ li >
9- < li > < a href ="https://docs.python.org/3.6/ "> {% trans %}Python 3.6 (security-fixes){% endtrans %}</ a > </ li >
10- < li > < a href ="https://docs.python.org/2.7/ "> {% trans %}Python 2.7 (EOL){% endtrans %}</ a > </ li >
5+ < li > < a href ="https://docs.python.org/ "> {% trans %}Stable{% endtrans %}</ a > </ li >
6+ < li > < a href ="https://docs.python.org/dev/ "> {% trans %}In development{% endtrans %}</ a > </ li >
117 < li > < a href ="https://www.python.org/doc/versions/ "> {% trans %}All versions{% endtrans %}</ a > </ li >
128</ ul >
139
Original file line number Diff line number Diff line change 1212
1313{% block rootrellink %}
1414{{ super() }}
15- < li >
16- {%- if switchers is defined %}
17- < span class ="language_switcher_placeholder "> {{ language or 'en' }}</ span >
18- < span class ="version_switcher_placeholder "> {{ release }}</ span >
19- < a href ="{{ pathto('index') }} "> {% trans %}Documentation {% endtrans %}</ a > {{ reldelim1 }}
20- {%- else %}
15+ < li id ="cpython-language-and-version ">
2116 < a href ="{{ pathto('index') }} "> {{ shorttitle }}</ a > {{ reldelim1 }}
22- {%- endif %}
2317 </ li >
2418{% endblock %}
2519
2620{% block extrahead %}
2721 < link rel ="canonical " href ="https://docs.python.org/3/{{pagename}}.html " />
2822 {% if builder != "htmlhelp" %}
29- {% if switchers is defined and not embedded %}
30- < script type ="text/javascript " src ="{{ pathto('_static/switchers.js', 1) }} "> </ script > {% endif %}
3123 {% if pagename == 'whatsnew/changelog' and not embedded %}
3224 < script type ="text/javascript " src ="{{ pathto('_static/changelog_search.js', 1) }} "> </ script > {% endif %}
3325 {% endif %}
You can’t perform that action at this time.
0 commit comments