pyOpenSci / pyopensci.github.io

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

Fix: tell htmlproofer to ignore broken links #407

Closed lwasser closed 4 months ago

lwasser commented 4 months ago

closes #406 i'm over html proofer failing every new page that we add. this pr ignores links which should allow it to pass on new pages if alt tags and scripts are working.

see: specify checks checks=[images, scripts]

if this doesn't work we can just ignore 404 errors but the build will be slower.

lwasser commented 4 months ago

This actually worked! it only ran alt tag and script checks. and the build will be much faster now without the link checks. htmlproofer is actually a bit slower checking links. if y'all are ok with this let's merge