Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19e3e00

Browse files
authored
Doc: Python 3.10 in sidebar and version switcher. (GH-20209)
1 parent711f9e1 commit19e3e00

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎Doc/tools/static/switchers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
'(?:release/\\d.\\d[\\x\\d\\.]*)'];
1111

1212
varall_versions={
13-
'3.9':'dev (3.9)',
13+
'3.10':'dev (3.10)',
14+
'3.9':'pre (3.9)',
1415
'3.8':'3.8',
1516
'3.7':'3.7',
1617
'3.6':'3.6',

‎Doc/tools/templates/indexsidebar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ <h3>{% trans %}Download{% endtrans %}</h3>
22
<p><ahref="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p>
33
<h3>{% trans %}Docs by version{% endtrans %}</h3>
44
<ul>
5-
<li><ahref="https://docs.python.org/3.9/">{% trans %}Python 3.9 (in development){% endtrans %}</a></li>
5+
<li><ahref="https://docs.python.org/3.10/">{% trans %}Python 3.10 (in development){% endtrans %}</a></li>
6+
<li><ahref="https://docs.python.org/3.9/">{% trans %}Python 3.9 (pre-release){% endtrans %}</a></li>
67
<li><ahref="https://docs.python.org/3.8/">{% trans %}Python 3.8 (stable){% endtrans %}</a></li>
78
<li><ahref="https://docs.python.org/3.7/">{% trans %}Python 3.7 (stable){% endtrans %}</a></li>
89
<li><ahref="https://docs.python.org/3.6/">{% trans %}Python 3.6 (security-fixes){% endtrans %}</a></li>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp