Fix broken internal links, add starlight-links-validator#1124
Merged
Conversation
Relative links break on GitHub Pages because pages are served with a trailing slash, resolving one level too deep. Convert all relative page links to locale-prefixed absolute links, fix dead link targets and add missing heading anchors. Validate all internal links at build time via starlight-links-validator so CI fails on future regressions. Fixes #1123
…inks # Conflicts: # src/content/docs/en/reference/cli/evcc_eebus-cert.md
naltatis
enabled auto-merge (squash)
July 17, 2026 07:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1123
Relative page links (
./linux,../meters, bareloadpoints#charger) break in production: GitHub Pages serves directory-format pages with a trailing slash, so relative links resolve one level too deep (/en/installation/docker/linux→ 404). Local dev serves without the trailing slash, which is why the issue was not reproducible locally.*.mdlinks in the generated CLI reference to match whatevcc gendocnow emitsfeatures/external-control→external-limit, blog slugv0.124-…→v0124-…,/{en,de}/integrations/rest-api→/integrations/rest-api#test,#manual,#systemd,#wifi,#cockpit,#backup,#gridcharge,#ui-migration,#password-reset,#reading, blog anchors) as explicit<a id>elements in both localesstarlight-links-validator: the build now fails on broken internal links, missing anchors, and relative links, so CI catches regressions