site/linkinator
Serves the built site and follows every link between its pages, stylesheets, and fragments.
Part of the site configuration, at the recommended level. It runs at the push stage, once per scope. It runs linkinator. It needs a build of the project.
A visitor hits a broken internal link before the author notices it.
What to do
Section titled “What to do”Fix the link, or the page it points at.
Example
Section titled “Example”A link to /missing/ reports a broken destination when that page does not exist. Point it at an existing page, or add the page.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore site/linkinator --paths "<glob>" --reason "<why>"