diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index c4d0743..5866425 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -23,20 +23,16 @@ jobs: run: uv sync --all-extras --dev - name: Build HTML - uses: ammaraskar/sphinx-action@master - with: - docs-folder: "docs/source" - pre-build-command: ". .venv/bin/activate" - build-command: "sphinx-build -b html . _build" + run: uv run sphinx-build docs/source docs/build/html - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: html-docs - path: docs/_build/html/ + path: docs/build/html - name: Deploy uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/html + publish_dir: docs/build/html diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt deleted file mode 100644 index f0694bd..0000000 --- a/docs/source/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -myst-parser