File tree Expand file tree Collapse file tree 3 files changed +33
-11
lines changed Expand file tree Collapse file tree 3 files changed +33
-11
lines changed Original file line number Diff line number Diff line change @@ -159,11 +159,15 @@ jobs:
159
159
token : ${{ secrets.ACCESS_TOKEN }}
160
160
path : userguide
161
161
162
+ - name : Setup Python
163
+ uses : actions/setup-python@v5
164
+ with :
165
+ python-version : ' 3.12'
166
+
162
167
- name : Install Sphinx
163
168
run : |
164
- sudo apt install python3-sphinx
165
- sudo pip3 install sphinxcontrib-phpdomain
166
- sudo pip3 install sphinx_rtd_theme
169
+ python -m pip install --upgrade pip
170
+ pip install -r ./source/user_guide_src/requirements.txt
167
171
168
172
- name : Chmod
169
173
run : chmod +x ./source/.github/scripts/deploy-userguide
Original file line number Diff line number Diff line change @@ -33,11 +33,20 @@ jobs:
33
33
php-version : ' 8.1'
34
34
coverage : none
35
35
36
- # Build the latest User Guide
37
- - name : Build with Sphinx
38
- uses :
ammaraskar/[email protected]
36
+ - name : Setup Python
37
+ uses : actions/setup-python@v5
39
38
with :
40
- docs-folder : user_guide_src/
39
+ python-version : ' 3.12'
40
+
41
+ - name : Install Sphinx
42
+ run : |
43
+ python -m pip install --upgrade pip
44
+ pip install -r user_guide_src/requirements.txt
45
+
46
+ # Build the latest User Guide
47
+ - name : Build Docs with Sphinx
48
+ run : make html
49
+ working-directory : user_guide_src
41
50
42
51
- name : Add "Edit this page" links
43
52
run : |
Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ jobs:
26
26
- name : Checkout
27
27
uses : actions/checkout@v4
28
28
29
+ - name : Setup Python
30
+ uses : actions/setup-python@v5
31
+ with :
32
+ python-version : ' 3.12'
33
+
34
+ - name : Install Sphinx
35
+ run : |
36
+ python -m pip install --upgrade pip
37
+ pip install -r user_guide_src/requirements.txt
38
+
29
39
- name : Detect usage of tabs in RST files
30
40
run : php utils/check_tabs_in_rst.php
31
41
32
- -
uses :
ammaraskar/[email protected]
33
- with :
34
- docs-folder : user_guide_src
35
- build-command : ' make html SPHINXOPTS="-W --keep-going -w /tmp/sphinx-log"'
42
+ - name : Build Docs with Sphinx
43
+ run : make html SPHINXOPTS="-W --keep-going -w /tmp/sphinx-log"
44
+ working-directory : user_guide_src
You can’t perform that action at this time.
0 commit comments