Skip to content

Fix broken internal links, add starlight-links-validator#1124

Merged
naltatis merged 4 commits into
mainfrom
fix/broken-internal-links
Jul 17, 2026
Merged

Fix broken internal links, add starlight-links-validator#1124
naltatis merged 4 commits into
mainfrom
fix/broken-internal-links

Conversation

@naltatis

Copy link
Copy Markdown
Member

Fixes #1123

Relative page links (./linux, ../meters, bare loadpoints#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.

  • Convert all relative page links to locale-prefixed absolute links (image links stay relative, Astro bundles them)
  • Rewrite *.md links in the generated CLI reference to match what evcc gendoc now emits
  • Fix dead targets: features/external-controlexternal-limit, blog slug v0.124-…v0124-…, /{en,de}/integrations/rest-api/integrations/rest-api
  • Add missing heading anchors (#test, #manual, #systemd, #wifi, #cockpit, #backup, #gridcharge, #ui-migration, #password-reset, #reading, blog anchors) as explicit <a id> elements in both locales
  • Add starlight-links-validator: the build now fails on broken internal links, missing anchors, and relative links, so CI catches regressions

naltatis added 3 commits July 17, 2026 08:57
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
naltatis enabled auto-merge (squash) July 17, 2026 07:01
@naltatis
naltatis merged commit 2f5c3d9 into main Jul 17, 2026
4 checks passed
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.

many links inside installation pages are broken

1 participant