Skip to content

Add a check that internal anchor links actually resolve #1962

Description

@abdishakoor-dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions