diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7f2682b..860500b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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' }}