Skip to content

Commit de2ee1e

Browse files
authored
Update to remove ammaraskar/sphinx-action@7.0.0
1 parent aef4e8e commit de2ee1e

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ jobs:
1616
with:
1717
persist-credentials: false
1818

19-
# Temporary solution since sphinx-multiversion does
20-
# not have -w option.
21-
- name: Pre-create log file
22-
run: touch /tmp/sphinx-log
23-
24-
- name: Build HTML
25-
uses: ammaraskar/sphinx-action@7.0.0
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
2621
with:
27-
build-command: "sphinx-multiversion source build/html"
22+
python-version: "3.9"
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install sphinx==7.4.7 sphinxawesome-theme==5.3.2 sphinx-autodoc-typehints==2.3.0 sphinx-multiversion==0.2.4
28+
29+
- name: Build documentation
30+
run: sphinx-multiversion docs/source docs/build/html --keep-going --no-color"
2831

2932
- name: Upload artifacts
3033
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)