Skip to content

Allow disabling linkcheck anchor checks for specific URLs #11484

@yukiisbored

Description

@yukiisbored

Is your feature request related to a problem? Please describe.
It appears GitHub has made the Markdown renderer/file viewer require JavaScript which breaks linkcheck anchor checks.

Describe the solution you'd like

A config which disables the linkcheck anchors check based on a regex of the entire URL would allow for cases like these to be handled while still validating whether the page itself exists and keep anchor checks enabled for others.

linkcheck_anchors_disabled = [
   # Requires JavaScript
   r'https://github.com'
]

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

This is what the page looks like without JavaScript enabled:

Capture d’écran 2023-07-07 à 17 00 57

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions