Skip to content

Commit 1cddd54

Browse files
committed
Add Python 3.9
1 parent 3068bdd commit 1cddd54

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/python-39.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: python-39
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
schedule:
8+
- cron: "58 * * * *"
9+
10+
jobs:
11+
sync:
12+
runs-on: ubuntu-latest
13+
env:
14+
LOCALE: zh_CN
15+
VERSION: "3.9"
16+
steps:
17+
- uses: actions/checkout@v1
18+
with:
19+
fetch-depth: 1
20+
- name: prepare
21+
run: .github/scripts/prepare.sh
22+
- name: update
23+
run: .github/scripts/update.sh
24+
env:
25+
TRANSIFEX_APIKEY: ${{ secrets.TRANSIFEX_APIKEY }}
26+
- name: build
27+
run: .github/scripts/build.sh
28+
- name: commit
29+
run: .github/scripts/commit.sh
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.rst

+7-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ Maintained versions:
1212
* - Version
1313
- Sync status
1414
- Translation progress
15+
* - `3.9 <https://github.com/python/python-docs-zh-cn/tree/3.9>`_
16+
- .. image:: https://github.com/python/python-docs-zh-cn/workflows/python-39/badge.svg
17+
:target: https://github.com/python/python-docs-zh-cn/actions?workflow=python-39
18+
- .. image:: https://img.shields.io/badge/dynamic/json.svg?label=zh_CN&query=%24.zh_CN&url=http://gce.zhsj.me/python/newest
19+
:target: https://www.transifex.com/python-doc/python-newest/
1520
* - `3.8 <https://github.com/python/python-docs-zh-cn/tree/3.8>`_
1621
- .. image:: https://github.com/python/python-docs-zh-cn/workflows/python-38/badge.svg
1722
:target: https://github.com/python/python-docs-zh-cn/actions?workflow=python-38
18-
- .. image:: https://img.shields.io/badge/dynamic/json.svg?label=zh_CN&query=%24.zh_CN&url=http://gce.zhsj.me/python/newest
19-
:target: https://www.transifex.com/python-doc/python-newest/
23+
- .. image:: https://img.shields.io/badge/dynamic/json.svg?label=zh_CN&query=%24.zh_CN&url=http://gce.zhsj.me/python/38
24+
:target: https://www.transifex.com/python-doc/python-38/
2025
* - `3.7 <https://github.com/python/python-docs-zh-cn/tree/3.7>`_
2126
- .. image:: https://github.com/python/python-docs-zh-cn/workflows/python-37/badge.svg
2227
:target: https://github.com/python/python-docs-zh-cn/actions?workflow=python-37

0 commit comments

Comments
 (0)