broken-link-checker
broken-link-checker copied to clipboard
Check broken anchors
Is your feature request related to a problem? Please describe. I'm building a website where local anchors are an important part of the content navigation. I need to automatically check whether they're broken or not.
Describe the solution you'd like
I'd like the checker to validate whether my <a href="#foo">
or <a href="http://example.com/#foo">
links lead to a page where an actual id="foo"
or <a name="foo">
element exists.
Describe alternatives you've considered I spent days already figuring out a JS or Python link checker for the website. Finally I found this one, which works perfectly, but this feature is missing. The Sphinx' builtin link checker does this and it is a very useful thing. It is baked into the Sphinx too much though, I need a generic tool like this one.
It's on the to-do list, but it's a complicated feature to accomplish efficiently.
I suppose it also implies --get
It would if caching were disabled, which causes some complications that need to be thought through. Get method is already used for recursive document checks (getting links).
i also looking for a anchor check
Any update on this?
I'll be working on v0.8 soon, but I won't be including document anchor checks at that time
I'm also looking for anchor checks. If you can give me some directions, I'll try to PR it.
It's on the to-do list, but it's a complicated feature to accomplish efficiently.
@stevenvachon, Thank you for this library, we are using it for checking all links on our documentation - works great 👍 . To fully accomplish our requirements we need to check all anchors, which I know is quite difficult. As you have experience in linking checking I would ask you if would you be able to add this functionality under the sponsorship?
@stevenvachon don't know how sponsorship looks here but willing to add $100 on top of @Siemienik contribution to get this functionality.