HTMLProofer

Author(s)
Garen Torikian
Website
https://github.com/gjtorikian/html-proofer
License
MIT License
Wiki
https://github.com/gjtorikian/html-proofer/wiki
GitHub
gjtorikian/html-proofer
DockerHub
phpqa/htmlproofer
Dependencies
libcurl

0 0 0

HTMLProofer will test your rendered HTML files to make sure they're accurate.

It is a set of tests to validate your HTML output. These tests check if your image references are legitimate, if they have alt tags, if your internal links are working, and so on. It's intended to be an all-in-one checker for your output.

Installation

Install from a RubyGems gem (with RubyGems or Bundler)

Check if all dependencies are installed: libcurl.

Gemfile
Add the following to your Gemfile:
gem 'html-proofer'
Execute:
bundle install
Run it:
htmlproofer
Commandline
Install it:
gem install html-proofer
Run it:
htmlproofer