diff --git a/.github/workflows/check-sphinx-and-links.yml b/.github/workflows/check-sphinx-and-links.yml index 285a2006..ea3df8d8 100644 --- a/.github/workflows/check-sphinx-and-links.yml +++ b/.github/workflows/check-sphinx-and-links.yml @@ -13,6 +13,10 @@ jobs: with: python-version: '3.10' + - name: "Upgrade pip" + run: | + pip3 install --upgrade pip + - name: "Install prerequisites" run: | pip3 install -r docs/requirements.txt @@ -21,8 +25,9 @@ jobs: 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