Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf17823e

Browse files
zhsjShengjing Zhu
authored and
Shengjing Zhu
committed
Fix broken CI caused by Sphinx 3.0
Closes:#107
1 parent76451e7 commitf17823e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎.github/scripts/build.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@ error() {
1313
cd cpython/Doc||exit 1
1414
mkdir -p locales/"$LOCALE"/
1515
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)
16+
17+
# 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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp