build(deps): upgrade html-proofer to v5.x

This commit is contained in:
Cotes Chung 2024-05-11 14:08:39 +08:00
parent fdbd7f02e3
commit f87fdd0ea0
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
4 changed files with 4 additions and 18 deletions

View file

@ -53,7 +53,7 @@ jobs:
- name: Test site
run: |
bundle exec htmlproofer _site \
\-\-disable-external=true \
\-\-disable-external \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact

16
Gemfile
View file

@ -5,19 +5,5 @@ source "https://rubygems.org"
gemspec
group :test do
gem "html-proofer", "~> 4.4"
gem "html-proofer", "~> 5.0"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

View file

@ -337,7 +337,7 @@ image:
---
```
> You can observe LQIP in the preview image of post [_Text and Typography_](/posts/text-and-typography/).
> You can observe LQIP in the preview image of post \"[Text and Typography](../text-and-typography/)\".
For normal images:

View file

@ -62,7 +62,7 @@ main() {
# test
bundle exec htmlproofer "$SITE_DIR" \
--disable-external=true \
--disable-external \
--ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
}