Skip to content
davewilks edited this page Sep 20, 2017 · 3 revisions

We use HTML Proofer.

Setup

The gemfile in devportal should already have the required gems:

gem 'rake'
gem 'html-proofer'

To install, run

bundle exec jekyll build

Check Links

Navigate to devportal, and then run:

bundle exec htmlproofer ./_site --allow-hash-href

Export the results to a file:

bundle exec htmlproofer ./_site --allow-hash-href > brokenlinks.txt

Ignore the terrible file names at cl.ly:

False Hits

  • Some content for the Element docs is in includes, and links to the Hub Docs in those includes causes a false hit.

Clone this wiki locally