Project description

html5validator is a command line tool that tests files for
HTML5 validity. This was written with static site generators like
Jekyll and
Pelican in mind. Dynamic html content
(for example from JS template engines) can be crawled
(e.g. with localcrawl)
and then validated.

Install

This module requires Python 2.7, 3.4, 3.5 or 3.6 and Java 8 (openjdk8 or oraclejdk8).
Install with pip install html5validator and run with

html5validator --root _build/

to validate all html files in the _build directory.
Run html5validator --help to see the list of command line options:

This module uses the validator.nu backend
which is written in Java. Therefore, a Java Runtime Environment must be
available on your system. Since version 0.2, Java 8 is required.