Skip to content

Check broken anchors #952

@honzajavorek

Description

@honzajavorek

This is more of a suggestion or an idea for future. We already check whether links are broken. We could check if anchors we point to in our documents actually exist. Those links are valid as in that the page exists and will load in reader's browser, but if the link contains an anchor, the intention was to point to a specific paragraph.

This is something I think Docusaurus could check out of the box (MkDocs has similar features) or that could be achieved by a relatively simple script in our CI, which goes through the resulting HTML and fails if something is off. In the past I wrote a similar script for myself in Python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.t-docsIssues owned by technical writing team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions