Skip to content

ci: build docs on PRs to catch dead links#96

Merged
suleimansh merged 1 commit into
mainfrom
ci/docs-build
Jun 30, 2026
Merged

ci: build docs on PRs to catch dead links#96
suleimansh merged 1 commit into
mainfrom
ci/docs-build

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #59.

Adds a docs job to CI that runs pnpm --filter @gemstack/docs docs:build on every PR. VitePress fails its build on dead internal links (the docs config whitelists only localhost), so this doubles as a dead-link check — verified locally: a bogus /packages/does-not-exist link makes the build exit non-zero with 1 dead link(s) found.

Runs as a separate job (parallel to build/typecheck/test) so a docs-only break is a distinct red check.

vitepress build fails on dead internal links (the docs config ignores only
localhost links), so a docs job on every PR doubles as a link check.

Closes #59
@suleimansh suleimansh self-assigned this Jun 30, 2026
@suleimansh suleimansh added documentation Improvements or additions to documentation priority: low Nice to have / latent labels Jun 30, 2026
@suleimansh suleimansh merged commit 0ef4d61 into main Jun 30, 2026
2 checks passed
@suleimansh suleimansh deleted the ci/docs-build branch June 30, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation priority: low Nice to have / latent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: run docs:build on PRs to catch dead links

1 participant