Caleydo / caleydo.github.io

Caleydo Website
https://caleydo.org
4 stars 1 forks source link

Fix links, and automate checks #83

Closed mccalluc closed 8 years ago

mccalluc commented 8 years ago
caleydo.github.io$ htmlproofer ./_site --disable-external  --alt-ignore '/.*/' --url-swap '/building_apps$:/building_apps.html,/installing_apps$:/installing_apps.html,/deployment$:/deployment.html,/docker$:/docker.html,/quickstart_guide$:/quickstart_guide.html,/project_description$:/project_description.html'
Running ["ScriptCheck", "LinkCheck", "ImageCheck"] on ["./_site"] on *.html... 

Ran on 116 files!

- ./_site/cancer/index.html
  *  internally linking to /projects/lineup/, which does not exist (line 86)
  *  internally linking to /tools/startomex/, which does not exist (line 88)
- ./_site/documentation/architecture/index.html
  *  internally linking to ../reference, which does not exist (line 296)
  *  internally linking to plugin_mechanism, which does not exist (line 294)
- ./_site/documentation/data_structure/index.html
  *  internally linking to TODO, which does not exist (line 294)
  *  internally linking to todo, which does not exist (line 421)
  *  internally linking to todo, which does not exist (line 416)
  *  internally linking to todo, which does not exist (line 421)
  *  internally linking to todo, which does not exist (line 415)
- ./_site/documentation/tutorial_single_view/index.html
  *  internally linking to /website/documentation/installation/#init-command, which does not exist (line 481)
  *  trying to find hash of /website/documentation/installation/#init-command, but /Users/chuck/github/caleydo/caleydo.github.io/_site/website/documentation/installation does not exist (line 481)
- ./_site/event/2014/08/31/nm-paper/index.html
  *  internally linking to /projects/stratomex/, which does not exist (line 69)
- ./_site/event/2014/09/07/genome-web/index.html
  *  internally linking to publications/2014_nm_stratomex, which does not exist (line 69)
- ./_site/event/2016/04/12/lineup_integrated_in_microsoft_powerbi/index.html
  *  internally linking to tools/lineup/, which does not exist (line 69)
- ./_site/index.html
  *  internal image /assets/images/papers/ does not exist (line 106)
- ./_site/news/index.html
  *  internally linking to /projects/stratomex/, which does not exist (line 188)
  *  internally linking to publications/2014_nm_stratomex, which does not exist (line 177)
  *  internally linking to tools/lineup/, which does not exist (line 77)
- ./_site/tools/pathways/index.html
  *  internally linking to /projects/stratomex/, which does not exist (line 78)
- ./_site/tools/stratomex/index.html
  *  internally linking to /projects/lineup/, which does not exist (line 80)
htmlproofer 3.0.6 | Error:  HTML-Proofer found 20 failures!

(The jekyll docs recommended this gem. I tried to use a capturing subexpression to add .html, but couldn't get that to work. Ideally, we could have travis run this with every commit.)

mccalluc commented 8 years ago

Fixed by #84