Skip to content

Commit 3c25707

Browse files
committed
[skip ci] Add sphinx-build command
1 parent 1440bd3 commit 3c25707

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pr_build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v2
3232
with:
3333
ref: gh-pages
34-
path: build
34+
path: build/html
3535

3636
- name: debug
3737
run: |
@@ -46,7 +46,13 @@ jobs:
4646
run: |
4747
sudo apt-get update
4848
sudo apt-get install -y --no-install-recommends python3-venv
49-
49+
50+
- name: Build doc
51+
run: |
52+
cd cpython/Doc
53+
make venv
54+
make build ALLSPHINXOPTS="-b html -D language=ja -D gettext_compact=0 -E -d build/doctrees . ${GITHUB_WORKSPACE}/build/html/${{ github.base_ref }}/${{ github.head_ref }}"
55+
5056
- name: Publish PR build
5157
run: |
5258
pip freeze

0 commit comments

Comments
 (0)