Skip to content

Commit

Permalink
Use newer sphinx docker image and upgrade pip
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesGibo committed Sep 7, 2023
1 parent 428a2ac commit 19bc222
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/check-sphinx-and-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.10'

- name: "Install prerequisites"
run: |
pip3 install -r docs/requirements.txt

- uses: ammaraskar/sphinx-action@master
# - uses: ammaraskar/sphinx-action@master
# Using fork of sphinx-action to support python version > 3.9
# As sphinx-action not updated the sphinx docker image it uses
- uses: erpcya/sphinx-action@feature/#update-sphinx-base-image
with:
docs-folder: "docs/"
pre-build-command: |
pip3 install --upgrade pip
sphinx-apidoc -f grafanalib -o docs/api
python setup.py install --user
python3 setup.py install --user
build-command: "make html"

- name: Link Checker
Expand Down

0 comments on commit 19bc222

Please sign in to comment.