]> git.lizzy.rs Git - rust.git/commit
linkchecker: Add support for <base> tag
authorOliver Middleton <olliemail27@gmail.com>
Sun, 14 May 2017 16:57:59 +0000 (17:57 +0100)
committerOliver Middleton <olliemail27@gmail.com>
Sun, 14 May 2017 17:06:35 +0000 (18:06 +0100)
commitd4f20eb7e32bad9049663d30cfcb0e246ef2e031
treeadfd3fa354243633be8759e144c5fee8e3d63486
parent21ca9cab7d3a91379005546ac6b0e8c4118e0f34
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.
src/tools/linkchecker/main.rs