Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/manual_version_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@ jobs:
echo "No existing versions found for major $MAJOR_VERSION, nothing to remove"
fi

# Build API reference and create Docusaurus version snapshots.
# Build API reference and create Docusaurus version snapshots. The Docusaurus commands must run
# through `uv run` so that the project virtual environment is on PATH — the typedoc-api plugin
# spawns `python` to generate the API reference dump and needs `pydoc-markdown` to be importable.
bash build_api_reference.sh
pnpm exec docusaurus docs:version "$MAJOR_MINOR_VERSION"
pnpm exec docusaurus api:version "$MAJOR_MINOR_VERSION"
uv run pnpm exec docusaurus docs:version "$MAJOR_MINOR_VERSION"
uv run pnpm exec docusaurus api:version "$MAJOR_MINOR_VERSION"

- name: Commit and push versioned docs
uses: apify/actions/signed-commit@v1.2.0
Expand Down
Loading