Xe / christine.website

The code that used to power my site
https://christine.website/projects/christine.website
zlib License
8 stars 5 forks source link

Broken link #3

Open e12e opened 9 years ago

e12e commented 9 years ago

Hi,

when reading your introduction to go, I came across a broken link/url: https://github.com/Xe/christine.website/pull/2

You might want to add some automatic link checking to your build-pipeline -- which is why I created an issue in addition to the PR.

Xe commented 9 years ago

What tools would do this?

e12e commented 9 years ago

Ah, I'm afraid I don't know of any off the top of my head. I just figured someone must've implemented that with number of static site generators around. Perhaps hooking into whatever parses the markdown for links, and adding some form of spellcheck (eg. a regex heuristic to check for valid-looking domains/urls) might be a start? Or run something like:

http://wummel.github.io/linkchecker/

or

http://search.cpan.org/dist/W3C-LinkChecker/

post build? (Found via a simple apt-cache search linkchecker)