fix: fix multidoc cross-version links and remove duplication (#1588)

This commit is contained in:
Felix Weinberger 2026-02-25 22:54:20 +00:00 • committed by GitHub
commit 137cf7c9c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,46 +108,3 @@ jobs:
- run: pnpm publish --provenance --access public ${{ steps.npm-tag.outputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Generates API documentation (V1 + V2) and deploys to GitHub Pages on any release
deploy-docs:
runs-on: ubuntu-latest
if: github.event_name == 'release'
needs: [publish]
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Generate multi-version docs
run: bash scripts/generate-multidoc.sh tmp/docs-combined
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: tmp/docs-combined
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4