Registry / testing / html-proofer

html-proofer

JSON →
library5.2.1rbrubygemsunverified

Test your rendered HTML files to make sure they're accurate.

gem install html-proofer
INSTALL
IMPORT
SIG · HTML-PROOFER
H
html-proofer
testingrubyv5.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HTMLProofer
require 'html-proofer'

Check a directory of HTML files for broken links and HTML issues

require 'html-proofer' options = { :check_html => true, :check_img_http => true } proofer = HTMLProofer.check_directory('./_site', options) proofer.run
Debug
Known issues
gotchaHTML Proofer can be slow on large sites; consider using the `:parallel` option for faster checks.
fix
Add `:parallel => { :in_processes => 4 }` to options to run checks in parallel.
affects: >= 3.0.0
Upgrade
Version history
5.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
html-proofer — gem install html-proofer · libregistry