Skip to content

Features: fix broken relative links (404 on trailing slash)#1097

Merged
naltatis merged 1 commit into
mainfrom
fix/feature-relative-links
Jun 26, 2026
Merged

Features: fix broken relative links (404 on trailing slash)#1097
naltatis merged 1 commit into
mainfrom
fix/feature-relative-links

Conversation

@naltatis

Copy link
Copy Markdown
Member

fixes #1095

Relative ../ links in the feature docs resolved one level too few under Starlight's trailing-slash URLs, producing 404s (e.g. the tariffs link reported in #1095 landed on /en/features/tariffs instead of /en/tariffs).

  • Replaced every ../ link in features/ with a locale-prefixed absolute link (/en/..., /de/...), per the repo linking convention.
  • Fixes 16 links across en + de: tariffs, meters, vehicles, chargers, and config references.
  • Sibling ./ links left as-is; they already resolve correctly.

Relative ../ links resolved one level too few under Starlight's
trailing-slash URLs, landing in /{lang}/features/X instead of
/{lang}/X. Replaced with locale-prefixed absolute links.
@naltatis naltatis enabled auto-merge (squash) June 26, 2026 15:32
@naltatis naltatis merged commit 9c20233 into main Jun 26, 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.

Wrong link for tariffs on page for Dynamic Tariffs

1 participant