diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 8fbd0aca..6ec9a13e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -36,3 +36,17 @@ jobs: uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.12 + cache: 'pip' + cache-dependency-path: 'doc/requirements.txt' + - name: Install dependencies + run: python3 -m pip install -r doc/requirements.txt + - name: Build docs + run: make -C doc html diff --git a/doc/requirements.txt b/doc/requirements.txt index f4bba38a..bb3a2689 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,3 @@ -sphinx -sphinx-autodoc-typehints -furo +sphinx==7.3.7 +sphinx-autodoc-typehints==2.2.2 +furo==2024.5.6