QA: Use HTML Proofer To Check Internal Links

Uses Ruby html-proofer to check the links.  This commit also fixes the
various problems it found, as well as dealing with some of its
non-problem complaints (it doesn't like anchor (a) tags without either
an href, name, or id).

Running HTML proofer takes about 12 minutes on my system (with up to two
threads), during which it prints no text. Travis CI times out after 10
minutes of nothing being written to stdout, so this commit also adds a
background process the Makefile to print a line every minute while make
runs.
This commit is contained in:
David A. Harding 2015-03-14 14:39:33 -04:00
parent d44692c75b
commit d954708ef1
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
42 changed files with 229 additions and 145 deletions

View file

@ -49,7 +49,7 @@ lasttime=`stat -c %Y "$SITEDIR/_buildlock" | cut -d ' ' -f1`
# Build website in a child process
(
cd $WORKDIR
JEKYLL_COMMAND='jekyll' make all
make all
touch "$WORKDIR/_builddone"
)&