Skip to content

Commit 86a418d

Browse files
authored
M #-: Fix sphinx dependency error (#3285)
1 parent 7b84fbf commit 86a418d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/make_html.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v5
1212
- name: Set up Python ${{ matrix.python-version }}
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: 3.11
1616
- name: Install dependencies
@@ -20,4 +20,4 @@ jobs:
2020
pip install sphinx==5.0.0 sphinx_rtd_theme==1.2.0 sphinx-prompt sphinxcontrib-spelling pyyaml Sphinx-Substitution-Extensions[prompt]
2121
- name: Make html
2222
run: |
23-
make html
23+
make SPHINXBUILD="python -m sphinx" html

.github/workflows/publish_html.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v5
1212

1313
# ------------------------------------------------------------------------------
1414
# Install requirements needed to compile docs and publish them
1515
# ------------------------------------------------------------------------------
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: 3.11
2020

publish/publish.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def error(rc)
5353
# ------------------------------------------------------------------------------
5454
# Compile documentation
5555
# ------------------------------------------------------------------------------
56-
error(run('make html'))
56+
error(run('make SPHINXBUILD="python -m sphinx" html'))
5757

5858
# ------------------------------------------------------------------------------
5959
# Publish documentation

0 commit comments

Comments
 (0)