#7758·starship

Translated docs link to English heading anchors that don't exist on the translated pages

Author: HardMax71Created Sep 27, 2026Updated Sep 27, 2026

Bug Report

Current Behavior

In-page links on the translated docs point at English heading anchors, but the translated headings get translated anchors, so the links go nowhere. For example https://starship.rs/de-DE/config/#directory: the German page has no #directory (its heading is ## Verzeichnis, anchored #verzeichnis), while https://starship.rs/config/#directory works. Across the 16 translations under docs/ on main (cc825b0), 103 links are broken this way. They all target ten English headings:

  • docs/config/README.md: #directory, #format-strings, #battery-display, #default-prompt-format, #with-custom-error-shape, #custom-command-shell, #with-terraform-version, #with-pulumi-version
  • docs/advanced-config/README.md: #configuration, #style-strings

The most affected are pt-BR (11), fr-FR (10) and es-ES (9); de-DE has 6.

Expected Behavior

The anchors the translated pages link to exist on those pages.

Additional context/Screenshots

Separately, docs/it-IT/guide/README.md links #-Installazione; VitePress lowercases heading anchors, so that one needs #-installazione.

I found these while trying Amiss, a docs drift checker I'm building, on the starship docs, and checked the examples above on the live site.

Possible Solution

Since the translated pages come from Crowdin, the fix probably belongs in the English source: give those ten headings explicit anchors, e.g. ## Directory {#directory} (VitePress custom anchors), so every locale keeps the English anchor the links use. That changes those ten source strings, so Crowdin will mark them for re-translation. Happy to send the PR if that approach works for you.

Environment

Not applicable (documentation site).