Skip to content

Check internal links during the docs build - #25

Open
stphnwlsh wants to merge 3 commits into
mainfrom
feature/link-checker
Open

stphnwlsh wants to merge 3 commits into
mainfrom
feature/link-checker

Conversation

@stphnwlsh

Copy link
Copy Markdown
Contributor

Summary

Adds starlight-links-validator (0.27.0) to astro.config.mjs so npm run build checks every internal page link, heading anchor, and static asset across the template and brand docs, and converts relative doc links to root-relative paths so the validator can verify them. Verified both a clean build (All internal links are valid) and that temporarily pointing a link in minimalapi/getting-started.mdx at /minimalapi/guides/broken-link-test/ fails the build with exit code 1 before restoring it.

Related issues

Closes LeanMeanCleanApps/.github#82

Checklist

  • I ran what the README says to run, and it passed.
  • I updated the README or docs if anything they describe changed.
  • The change is focused on one thing.

@stphnwlsh stphnwlsh self-assigned this Nov 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check the docs site's internal links in the build

1 participant