Created
November 16, 2025 12:03
-
-
Save denisdefreyne/39cf5a16ad6251fd817968fb80f4aca9 to your computer and use it in GitHub Desktop.
lib/checks/html_proofer.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Nanoc::Check.define(:html_proofer) do | |
| res = `bundle exec htmlproofer --root-dir=output --disable-external --no-enforce-https --ignore-missing-alt --directory-index-files=index.html,index.php 2>&1` | |
| if $?.exitstatus != 0 | |
| add_issue("html-proofer failed: #{res}") | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment