From 0c42faae08fce1bf0f2c566708a7c47c34c556ae Mon Sep 17 00:00:00 2001 From: Eric Sorenson Date: Mon, 29 Apr 2024 18:32:42 -0700 Subject: [PATCH] Update html-proofer config stanza for new version based on html-proofer's UPGRADING.md , many of the old configuration directives have changed names in the new version. --- script/html-proofer | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/html-proofer b/script/html-proofer index 45a74b85e26..1e49fe96e94 100755 --- a/script/html-proofer +++ b/script/html-proofer @@ -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