Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement local link checking as part of build #487
Now with preview ;)
This was a bit more involved than initially anticipated. I don't think it's feasible to test local files without a webserver, as the file path semantics are different. There were a bunch of false negatives, as linkchecker simply ignored paths like
Starting a local webserver is a heavier approach, but solves the issue. Here I chose caddy instead of, say,
An end-to-end link check against deployed https://nixos.org is out of scope for this PR.