Some content links directly to a specific block within another page using its anchor id, e.g. /itp/structuring-data/sprints/2/prep/#interpreting-this-error.
These links are fragile: the anchor is auto-generated from the target block's heading/title, so retitling that block silently breaks the link.
Idea: a build-time or CI check that verifies internal anchor links actually resolve to something on the target page, so a broken link fails the build instead of failing silently.
Not proposing a specific implementation, just capturing the idea so it's tracked.
cc @illicitonion
Some content links directly to a specific block within another page using its anchor id, e.g.
/itp/structuring-data/sprints/2/prep/#interpreting-this-error.These links are fragile: the anchor is auto-generated from the target block's heading/title, so retitling that block silently breaks the link.
Idea: a build-time or CI check that verifies internal anchor links actually resolve to something on the target page, so a broken link fails the build instead of failing silently.
Not proposing a specific implementation, just capturing the idea so it's tracked.
cc @illicitonion