Skip to content

Add cross-file anchor link check  #1009

@lmolkova

Description

@lmolkova

See #1008 (comment)

With docfx v3 disappearing into thin air, we have no tooling that validates that relative links to files in the repo with anchors exist (e.g. /docs/http/http-spans.md#setting-serveraddress-and-serverport-attributes)

  • markdownlint validates anchors within the same file (#setting-serveraddress-and-serverport-attributes). Same as docfx v2
  • markdown-link-check validates presence of file, but not the anchor there

https://github.com/theoludwig/markdownlint-rule-relative-links seems to be able to validate cross-file anchors, but only with relative path (./docs/http/http-spans.md#setting-serveraddress-and-serverport-attributes) which we can't do because of md generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions