Skip to content

Commit 067a352

Browse files
committed
adds ignore rules to html-proofer
1 parent d458daa commit 067a352

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Rakefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ Rake::Jekyll::GitDeployTask.new(:deploy) do |t|
3636
# Run this command to build the site.
3737
t.jekyll_build = ->(dest_dir) {
3838
Rake.sh "bundle exec jekyll build --destination #{dest_dir}"
39-
HTML::Proofer.new(dest_dir).run
39+
HTML::Proofer.new(dest_dir, {
40+
:href_ignore => [
41+
"#"
42+
],
43+
:alt_ignore => [
44+
/gc_button1_en/
45+
]
46+
}).run
4047
}
4148
end

0 commit comments

Comments
 (0)