We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775d270 commit 90a6183Copy full SHA for 90a6183
Rakefile
@@ -1,13 +1,12 @@
1
#!/usr/bin/env ruby
2
3
-require 'html/proofer'
+require 'html-proofer'
4
5
def html_proofer
6
- puts "HTML Proofer version: #{HTML::Proofer::VERSION}"
7
- HTML::Proofer.new("./_site", {
8
- :href_ignore => ["#"],
9
- :url_ignore => [/linkedin\.com/],
10
- #:disable_external => true
+ puts "HTML Proofer version: #{HTMLProofer::VERSION}"
+ HTMLProofer.check_directory("./_site", {
+ :allow_hash_href => true,
+ :http_status_ignore => [999] # LinkedIn returning 999
11
}).run
12
end
13
@@ -18,6 +17,6 @@ task :test do
18
17
html_proofer
19
20
21
-task :serve do
+task :serve_local do
22
sh "bundle exec jekyll serve --config _config.yml,_config_local.yml"
23
0 commit comments