Skip to content

Commit

Permalink
Update html-proofer config stanza for new version
Browse files Browse the repository at this point in the history
based on html-proofer's UPGRADING.md , many of the old configuration directives have changed names in the new version.
  • Loading branch information
ahpook committed Apr 30, 2024
1 parent 81f75fb commit 0c42faa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/html-proofer
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ HTMLProofer::Runner.new(
["_site"],
parallel: { in_threads: 4 },
type: :directory,
url_ignore: url_ignores,
ignore_urls: url_ignores,
check_html: true,
check_opengraph: true,
check_img_http: true,
favicon: true,
assume_extension: true,
allow_missing_href: true,
enforce_https: false,
only_4xx: true,
http_status_ignore: [429]
ignore_status_codes: [429]
).run

0 comments on commit 0c42faa

Please sign in to comment.