Sign inSign up

tmaier/html-proofer

By tmaier

Updated almost 8 years ago

html-proofer - Slim and ready for CI

Image
0

1.9K

tmaier/html-proofer repository overview

HTML Proofer, Dockerized

HTML validation, made easy. This repository is the HTML Proofer Ruby gem wrapped up in a Docker container, so you don't have to fuss with installing things like Ruby or Nokogiri.

Usage

Requires Docker.

docker run tmaier/html-proofer

This will print out the usage instructions. Arguments for the htmlproofer CLI can then be appended to the command. Note that it's not (yet) recommended this be used against live sites due to this issue.

Single file

You will need to mount the file as a data volume so it's available in the container, like so:

docker run -v /absolute/path/to/file.html:/file.html tmaier/html-proofer /file.html
Directory of files

e.g. those created by a static site builder like Jekyll or Hugo. You will need to mount the directory as a data volume so it's available in the container, like so:

docker run -v /absolute/path/to/dir/:/site tmaier/html-proofer /site

Tag summary

Content type

Image

Digest

Size

55.6 MB

Last updated

almost 8 years ago

docker pull tmaier/html-proofer