From 9fcc20bc96b68254824ddba4116b18706562b5b3 Mon Sep 17 00:00:00 2001 From: Jaikinator Date: Fri, 6 Oct 2023 15:24:45 +0200 Subject: [PATCH] changed ci to support sphinx autodoc --- .github/workflows/documentation.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' }}