Skip to content

Commit 78738f2

Browse files
fix(docs): allow localhost links in link validator
Add errorOnLocalLinks: false to starlight-links-validator configuration to permit localhost URLs in development documentation. Root cause: The notes/build/rolldown-workers-incompatibility.md file contains a reference to http://localhost:8787 as part of testing instructions. This is valid for development notes but was being flagged by the link validator. This configuration aligns with typical development documentation patterns where localhost references are acceptable for testing and preview instructions. Fixes link validation error: - Found 1 invalid link in 1 file. - notes/build/rolldown-workers-incompatibility/ - http://localhost:8787 - local link
1 parent 090804c commit 78738f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/docs/astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineConfig({
1616
? [
1717
starlightLinksValidator({
1818
errorOnRelativeLinks: false,
19+
errorOnLocalLinks: false,
1920
}),
2021
]
2122
: [],

0 commit comments

Comments
 (0)