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
+
1
6
This repository contains scripts for automatically building the Python
2
7
documentation on [ docs.python.org] ( https://docs.python.org ) .
3
8
@@ -12,7 +17,7 @@ python3 ./build_docs.py --quick --build-root ./build_root --www-root ./www --log
12
17
```
13
18
14
19
If you don't need to build all translations of all branches, add
15
- ` --language en --branch main ` .
20
+ ` --languages en --branches main ` .
16
21
17
22
18
23
## Check current version
@@ -34,9 +39,9 @@ of Sphinx we're using where:
34
39
3.9 ø sphinx==2.4.4 needs_sphinx='1.8'
35
40
3.10 ø sphinx==3.4.3 needs_sphinx='3.2'
36
41
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 '
40
45
========= ============= ================== ====================
41
46
42
47
Sphinx build as seen on docs.python.org:
@@ -47,9 +52,9 @@ of Sphinx we're using where:
47
52
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
48
53
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
49
54
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
53
58
========= ===== ===== ===== ===== ===== ===== ===== ===== ======= ===== ===== ======= =======
54
59
55
60
## Manually rebuild a branch
@@ -66,5 +71,5 @@ To manually rebuild a branch, for example 3.11:
66
71
ssh docs.nyc1.psf.io
67
72
sudo su --shell=/bin/bash docsbuild
68
73
screen -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
70
75
```
0 commit comments