diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 95998c9..86355a9 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,4 +15,14 @@ jobs: run: | cd ${{ github.workspace }} python3 -m pip install . + - name: Build the docs + run: | + cd ./docs/ + sphinx-apidoc -f -o _apidocs/ ../src/atmst + make html + - name: Archive generated docs + uses: actions/upload-artifact@v4 + with: + name: html-docs + path: docs/_build/html/ - run: echo "This job's status is ${{ job.status }}."