diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f0a2986..b0e5366 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,15 +13,15 @@ jobs: - uses: actions/setup-python@v5 - name: Install dependencies run: | - pip install sphinx sphinx_rtd_theme myst_parser numpydoc + pip install sphinx sphinx_rtd_theme myst_parser - name: Sphinx build run: | - sphinx-build -b html docs/ docs/_build/ + sphinx-build docs _build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/ + publish_dir: _build/ force_orphan: true