We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76451e7 commit f17823eCopy full SHA for f17823e
.github/scripts/build.sh
@@ -13,5 +13,11 @@ error() {
13
cd cpython/Doc || exit 1
14
mkdir -p locales/"$LOCALE"/
15
ln -sfn "$(realpath ../../docs)" locales/"$LOCALE"/LC_MESSAGES
16
-make venv
17
-make html SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going -j2" 2> >(error)
+
+# make venv
18
+# create venv manually, so we can specify sphinx version
19
+VENVDIR=./venv
20
+python3 -m venv $VENVDIR
21
+$VENVDIR/bin/python3 -m pip install -U pip setuptools
22
+$VENVDIR/bin/python3 -m pip install -U "Sphinx<3.0" blurb python-docs-theme
23
+make html VENVDIR=$VENVDIR SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going -j2" 2> >(error)
0 commit comments