Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
build: update Sphinx action to use sphinx-apidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
LimaoC committed Aug 16, 2024
1 parent d8b9adc commit 6f89db6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:

- name: Sphinx build
run: |
cd docs && poetry run make html
poetry run sphinx-apidoc -f -o docs/source/generated client &&
cd docs &&
poetry run make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 6f89db6

Please sign in to comment.