Closed jdavis closed 10 years ago
:+1:
Thanks! Funnily enough, I actually ran a link-checking thing yesterday (and then, y'know, didn't do anything).
If you're interested in checking links on a regular basis, I highly recommend @gjtorikian's https://github.com/gjtorikian/html-proofer. In its current state, it checks both presence of images and links (that some page exists at that link) which could be utilized to ensure all links are working. Hook it up with Travis like so:
language: ruby
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
install: gem install salt redcarpet html-proofer
script:
- tasks/build
- htmlproof ./site
Looks like you have tasks/scan
already but can run that before a publish and return a non-zero exit code in order to halt the process in case of any bad links?
That is funny, @waferbaby.
And cool info, @parkr.
@parkr: Oh hah, that's rad! I'll check it out. :+1:
I noticed the links for I, Astronomer and Il Setup were no longer working. This removes them from the site.