Skip to content

Latest commit

 

History

History
executable file
·
30 lines (19 loc) · 985 Bytes

03_task_htmlSanityCheck.adoc

File metadata and controls

executable file
·
30 lines (19 loc) · 985 Bytes

htmlSanityCheck

htmlSanityCheck

This task invokes the htmlSanityCheck gradle plugin. It is a standalone (batch- and command-line) html sanity checker - it detects missing images, dead links, and duplicate bookmarks.

In docToolchain, this task is used to ensure that the generated HTML contains no missing links or other problems.

This task is the last default task and creates a report in build/report/htmlchecks/index.html

htmlSanityCheck
Figure 1. sample report

Further information can be found on GitHub: https://github.com/aim42/htmlSanityCheck

Tip
Blog-Post: Automated Quality-Checks

Source

htmlSanityCheck.gradle
link:../../../scripts/htmlSanityCheck.gradle[role=include]