Michael-F-Bryan / mdbook-linkcheck

A backend for `mdbook` which will check your links for you.
https://michael-f-bryan.github.io/mdbook-linkcheck/
MIT License
144 stars 29 forks source link

bad interaction with mdbook's "index" preprocessor #25

Closed lily-commure closed 4 years ago

lily-commure commented 4 years ago

The index preprocessor is

a built-in preprocessor (enabled by default) which will transform all README.md chapters to index.md so foo/README.md can be accessed via the url foo/ when published to a browser

If only foo/README.md exists, then linkcheck incorrectly flags links to foo/ because foo/index.md doesn't exist. This is a false positive because the link won't actually be broken.