changed ci to support sphinx autodoc

This commit is contained in:
Jaikinator
2023-10-06 15:24:45 +02:00
parent 68e4aaa82f
commit 9fcc20bc96
+3 -1
View File
@@ -16,7 +16,9 @@ jobs:
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx build
run: |
sphinx-build -M html . docs
sphinx-apidoc -o source scraibe/
sphinx-build source docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/sphinx_action' }}