Skip to content

Commit 0147e2b

Browse files
authored
Use docsbuild-scripts to build
1 parent 7ab7c93 commit 0147e2b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/scripts/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ error() {
1313
cd cpython/Doc || exit 1
1414
mkdir -p locales/"$LOCALE"/
1515
ln -sfn "$(realpath ../../docs)" locales/"$LOCALE"/LC_MESSAGES
16+
17+
cd ../../docsbuild/
1618
pip3 install -q -r requirements.txt
17-
make html SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going" 2> >(error)
19+
python3 ./build_docs.py --quick --build-root ./build_root --www-root ./www --skip-cache-invalidation --language $LOCALE --branch $VERSION
20+
# make html SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going" 2> >(error)

.github/workflows/sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
with:
3030
ref: ${{env.VERSION}}
3131
path: docs
32+
- name: Checkout Build Scripts
33+
uses: actions/checkout@v3
34+
with:
35+
ref: ${{env.VERSION}}
36+
path: docsbuild
3237
- name: prepare
3338
run: .github/scripts/prepare.sh
3439
- name: update

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy