diff --git a/.ruby-version b/.ruby-version index a603bb50a29..a3ec5a4bd3d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.5 +3.2 diff --git a/Gemfile b/Gemfile index a76c33fb51c..ca9b7428d0e 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,6 @@ source "https://rubygems.org" gem "github-pages", group: :jekyll_plugins group :test do - gem "html-proofer", "~> 3.19.4" + gem "html-proofer" gem "rake" end diff --git a/script/html-proofer b/script/html-proofer index 6ebe6940e95..f634cc1db80 100755 --- a/script/html-proofer +++ b/script/html-proofer @@ -21,12 +21,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