scientific-python/tools.scientific-python.org

BUG: add linkchecking CI

bsipocz opened this issue · 1 comments

Someone pointed out a broken link (see #63), so apparently the netlify linkchecker doesn't work.

This came up in the specs repo, but only on the theoretical level, thus I open this issue here as we actually had broken links in this repo.

lagru commented

I've had good success with using lychee to cook up my own non-GitHub CI solution for this:

lychee --dump ${URL}/sitemap.xml | grep "${URL}" | sort > links.txt
cat links.txt
cat links.txt | xargs lychee -v --no-progress --max-concurrency 2 --include-fragments

But they also provide a GitHub action for it.