Skip to content

Commit 2ccb988

Browse files
authored
Prepare docsbuild-scripts for the cpython migration to the main branch. (#103)
1 parent 551cd8b commit 2ccb988

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ translations in ``./www``, beware it can take a few hours:
1010
$ python3 ./build_docs.py --quick --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation
1111

1212
If you don't need to build all translations of all branches, add
13-
``--language en --branch master``.
13+
``--language en --branch main``.
1414

1515

1616
# Check current version
@@ -32,7 +32,7 @@ of Sphinx we're using where::
3232
3.7 sphinx==1.8.2 sphinx==1.8.2 ø needs_sphinx="1.6.6" Sphinx==2.3.1 Sphinx==2.3.1
3333
3.8 sphinx==1.8.2 sphinx==1.8.2 ø needs_sphinx='1.8' Sphinx==2.3.1 Sphinx==2.3.1
3434
3.9 sphinx==2.2.0 sphinx==2.2.0 sphinx==2.2.0 needs_sphinx='1.8' Sphinx==2.3.1 Sphinx==2.3.1
35-
master sphinx==2.2.0 sphinx==2.2.0 sphinx==2.2.0 needs_sphinx='1.8' Sphinx==2.3.1 Sphinx==2.3.1
35+
main sphinx==2.2.0 sphinx==2.2.0 sphinx==2.2.0 needs_sphinx='1.8' Sphinx==2.3.1 Sphinx==2.3.1
3636
======== ============= ============= ================== ==================== ============= ===============
3737

3838
Sphinx build as seen on docs.python.org:

build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def title(self):
102102
Version("3.7", "3.7", "security-fixes", sphinx_version="2.3.1"),
103103
Version("3.8", "3.8", "security-fixes", sphinx_version="2.4.4"),
104104
Version("3.9", "3.9", "stable", sphinx_version="2.4.4"),
105-
Version("3.10", "master", "in development", sphinx_version="3.2.1"),
105+
Version("3.10", "main", "in development", sphinx_version="3.2.1"),
106106
]
107107

108108
XELATEX_DEFAULT = (

0 commit comments

Comments
 (0)