We totally want to check not only URLs, but also anchors, for better visitor experience. Among others, we use this to avoid breaking anchors in the ToS. Unfortunately, Some pages contain dynamically generated anchors, which fail AnchorCheck. We previously ran linkchecker twice, with two ignore lists.
This approach led to a few issues:
We forgot to update both config files (without AnchorCheck and with AnchorCheck) at the same time, which led to many false positive.
Linkchecking takes twice the amount of time.
To avoid these issues, we decided to only run linkchecker once, with AnchorCheck. This means that URLs to some pages won't be checked at all. We accept this risk: We prefer to slightly underalert, as opposed to overalert.
To test this PR, I ran the following command on my laptop:
We totally want to check not only URLs, but also anchors, for better visitor experience. Among others, we use this to avoid breaking anchors in the ToS. Unfortunately, Some pages contain dynamically generated anchors, which fail AnchorCheck. We previously ran linkchecker twice, with two ignore lists.
This approach led to a few issues:
To avoid these issues, we decided to only run linkchecker once, with AnchorCheck. This means that URLs to some pages won't be checked at all. We accept this risk: We prefer to slightly underalert, as opposed to overalert.
To test this PR, I ran the following command on my laptop:
And got the following output:
⚠️ IMPORTANT ⚠️: This is a public repository. Make sure to not disclose:
Quality gates: