build(deps): upgrade html-proofer
to v5.x
This commit is contained in:
parent
fdbd7f02e3
commit
f87fdd0ea0
4 changed files with 4 additions and 18 deletions
2
.github/workflows/starter/pages-deploy.yml
vendored
2
.github/workflows/starter/pages-deploy.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
||||||
- name: Test site
|
- name: Test site
|
||||||
run: |
|
run: |
|
||||||
bundle exec htmlproofer _site \
|
bundle exec htmlproofer _site \
|
||||||
\-\-disable-external=true \
|
\-\-disable-external \
|
||||||
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
|
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
|
||||||
|
|
||||||
- name: Upload site artifact
|
- name: Upload site artifact
|
||||||
|
|
16
Gemfile
16
Gemfile
|
@ -5,19 +5,5 @@ source "https://rubygems.org"
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem "html-proofer", "~> 4.4"
|
gem "html-proofer", "~> 5.0"
|
||||||
end
|
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]
|
|
||||||
|
|
|
@ -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:
|
For normal images:
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ main() {
|
||||||
|
|
||||||
# test
|
# test
|
||||||
bundle exec htmlproofer "$SITE_DIR" \
|
bundle exec htmlproofer "$SITE_DIR" \
|
||||||
--disable-external=true \
|
--disable-external \
|
||||||
--ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
|
--ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue