-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linkchecker: Add support for <base> tag #41992
Conversation
Add support for the HTML <base> tag as used by mdBook so The Unstable Book can be checked. Also cleanup a few things: * Stop checking the name attribute. It should never have been used and mdBook has since been fixed not to use it. * Make sure we only check html files. * Remove a few unnecessary allocations. Finally, dead links in The Unstable Book have been fixed.
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ Awesome thanks! FWIW linkchecker was written in a time w/ only the makefiles so we couldn't use crates.io, but nowadays we could enhance this to actually depend on, for example, html5ever, and have real html parsing! I'm not sure if it's necessary, but something to consider at least. |
📌 Commit d4f20eb has been approved by |
⌛ Testing commit d4f20eb with merge 8ddecf2... |
💔 Test failed - status-appveyor |
@bors retry
|
I've sent a PR to retry that HTTP request: #41996 |
⌛ Testing commit d4f20eb with merge fcc1a3c... |
💔 Test failed - status-appveyor |
…chton linkchecker: Add support for <base> tag Add support for the HTML <base> tag as used by mdBook so The Unstable Book can be checked. Also cleanup a few things: * Stop checking the name attribute. It should never have been used and mdBook has since been fixed not to use it. * Make sure we only check html files. * Remove a few unnecessary allocations. Finally, dead links in The Unstable Book have been fixed.
linkchecker: Add support for <base> tag Add support for the HTML <base> tag as used by mdBook so The Unstable Book can be checked. Also cleanup a few things: * Stop checking the name attribute. It should never have been used and mdBook has since been fixed not to use it. * Make sure we only check html files. * Remove a few unnecessary allocations. Finally, dead links in The Unstable Book have been fixed.
Thanks for this! (I agree with @alexcrichton that we'll probably want to upgrade it even more in the future, but this is good for now) |
☀️ Test successful - status-appveyor, status-travis |
Add support for the HTML tag as used by mdBook so The Unstable
Book can be checked.
Also cleanup a few things:
mdBook has since been fixed not to use it.
Finally, dead links in The Unstable Book have been fixed.