1+ # docsbuild-scripts
2+
3+ [ ![ GitHub Actions status] ( https://github.com/python/docsbuild-scripts/actions/workflows/test.yml/badge.svg )] ( https://github.com/python/docsbuild-scripts/actions/workflows/test.yml )
4+ [ ![ Codecov] ( https://codecov.io/gh/python/docsbuild-scripts/branch/main/graph/badge.svg )] ( https://codecov.io/gh/python/docsbuild-scripts )
5+
16This repository contains scripts for automatically building the Python
27documentation on [ docs.python.org] ( https://docs.python.org ) .
38
@@ -12,7 +17,7 @@ python3 ./build_docs.py --quick --build-root ./build_root --www-root ./www --log
1217```
1318
1419If you don't need to build all translations of all branches, add
15- ` --language en --branch main ` .
20+ ` --languages en --branches main ` .
1621
1722
1823## Check current version
@@ -34,9 +39,9 @@ of Sphinx we're using where:
3439 3.9 ø sphinx==2.4.4 needs_sphinx='1.8'
3540 3.10 ø sphinx==3.4.3 needs_sphinx='3.2'
3641 3.11 ø sphinx~=7.2.0 needs_sphinx='4.2'
37- 3.12 ø sphinx~=8.1 .0 needs_sphinx='7 .2.6 '
38- 3.13 ø sphinx~=8.1 .0 needs_sphinx='7 .2.6 '
39- 3.14 ø sphinx~=8.1 .0 needs_sphinx='7 .2.6 '
42+ 3.12 ø sphinx~=8.2 .0 needs_sphinx='8 .2.0 '
43+ 3.13 ø sphinx~=8.2 .0 needs_sphinx='8 .2.0 '
44+ 3.14 ø sphinx~=8.2 .0 needs_sphinx='8 .2.0 '
4045 ========= ============= ================== ====================
4146
4247 Sphinx build as seen on docs.python.org:
@@ -47,9 +52,9 @@ of Sphinx we're using where:
4752 3.9 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4 2.4.4
4853 3.10 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3 3.4.3
4954 3.11 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6 7.2.6
50- 3.12 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3
51- 3.13 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3
52- 3.14 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3 8.1 .3
55+ 3.12 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3
56+ 3.13 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3
57+ 3.14 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3 8.2 .3
5358 ========= ===== ===== ===== ===== ===== ===== ===== ===== ======= ===== ===== ======= =======
5459
5560## Manually rebuild a branch
@@ -66,5 +71,5 @@ To manually rebuild a branch, for example 3.11:
6671ssh docs.nyc1.psf.io
6772sudo su --shell=/bin/bash docsbuild
6873screen -DUR # Rejoin screen session if it exists, otherwise create a new one
69- /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --branch 3.11
74+ /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --force -- branch 3.11
7075```
0 commit comments