pyOpenSci / pyopensci.github.io

This is the website for pyOpenSci. Contributions welcome!!
https://www.pyopensci.org
Other
35 stars 61 forks source link

add lychee action #350

Closed willingc closed 3 months ago

willingc commented 3 months ago

This PR adds lychee (a Rust based link checker) to run just before the HTMLProofer. Lychee only takes about 15 sec to check all of the links. It will be a good check that htmlproofer is working as expected with the links.

lwasser commented 3 months ago

awesome! ill look at this tomorrow. if this works we can just turn off link checking in html proofer and use it only for alt tags! that could solve all of our issues if lychee doesn't get hung up on new links that aren't yet on our website!

lwasser commented 3 months ago

i'm going to pull this into another pr via a rebase. i suspect then we can use the htmproofer action to just check images or we can find another tool that does alt tags / accessibility ? thank you @willingc i'm tired of fighting with htmlproofer!!