Skip to content

Commit 92b6fb8

Browse files
committed
fix: give up on sphinx gha
1 parent cea09b9 commit 92b6fb8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/builddocs.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Install GraphViz
19-
run: |
20-
sudo apt-get update -y
21-
sudo apt-get install -y graphviz
2218

2319
- name: Determine current branch/tag name
2420
run: |
@@ -36,7 +32,15 @@ jobs:
3632
echo "Building branch/tag ${CURBRANCH:-<unkwown>}, from git ref <$GITHUB_REF>"
3733
echo "CURBRANCH=${CURBRANCH}" >> ${GITHUB_ENV}
3834
39-
- uses: ammaraskar/sphinx-action@master
40-
with:
41-
docs-folder: "."
42-
build-command: make -C docs/ PYTHONPATH="${GITHUB_WORKSPACE}" SPHINXOPTS="-W" BUILDDIR="$HOME/docs" CURBRANCH="${CURBRANCH:-html}" html
35+
- name: Install GraphViz
36+
run: |
37+
sudo apt-get update -y
38+
sudo apt-get install -y graphviz
39+
40+
- name: Install dependencies
41+
run: |
42+
pip install -r docs/requirements.txt
43+
44+
- name: Build docs
45+
run: |
46+
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" CURBRANCH="${CURBRANCH:-html}" html

0 commit comments

Comments
 (0)