mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-28 08:18:15 -05:00
Updates html-proofer code
As in html-proofer docs: https://github.com/gjtorikian/html-proofer
This commit is contained in:
@@ -63,8 +63,8 @@ You can also invoke `html-proofer` in Ruby scripts (e.g. in a Rakefile):
|
||||
{% highlight ruby %}
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require 'html/proofer'
|
||||
HTML::Proofer.new("./_site").run
|
||||
require 'html-proofer'
|
||||
HTMLProofer.check_directory("./_site").run
|
||||
{% endhighlight %}
|
||||
|
||||
Options are given as a second argument to `.new`, and are encoded in a
|
||||
|
||||
Reference in New Issue
Block a user