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:
159159 token : ${{ secrets.ACCESS_TOKEN }}
160160 path : userguide
161161
162+ - name : Setup Python
163+ uses : actions/setup-python@v5
164+ with :
165+ python-version : ' 3.12'
166+
162167 - name : Install Sphinx
163168 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
167171
168172 - name : Chmod
169173 run : chmod +x ./source/.github/scripts/deploy-userguide
Original file line number Diff line number Diff line change @@ -33,11 +33,20 @@ jobs:
3333 php-version : ' 8.1'
3434 coverage : none
3535
36- # Build the latest User Guide
37- - name : Build with Sphinx
38- uses : ammaraskar/sphinx-action@0.4
36+ - name : Setup Python
37+ uses : actions/setup-python@v5
3938 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
4150
4251 - name : Add "Edit this page" links
4352 run : |
Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ jobs:
2626 - name : Checkout
2727 uses : actions/checkout@v4
2828
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+
2939 - name : Detect usage of tabs in RST files
3040 run : php utils/check_tabs_in_rst.php
3141
32- - uses : ammaraskar/sphinx-action@0.4
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