Updates html-proofer code

As in html-proofer docs: https://github.com/gjtorikian/html-proofer
This commit is contained in:
Erick Sasse 2016-07-11 23:17:30 -03:00 committed by GitHub
parent 4b5126dda7
commit d683baa257
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ You can also invoke `html-proofer` in Ruby scripts (e.g. in a Rakefile):
{% highlight ruby %} {% highlight ruby %}
#!/usr/bin/env ruby #!/usr/bin/env ruby
require 'html/proofer' require 'html-proofer'
HTML::Proofer.new("./_site").run HTMLProofer.check_directory("./_site").run
{% endhighlight %} {% endhighlight %}
Options are given as a second argument to `.new`, and are encoded in a Options are given as a second argument to `.new`, and are encoded in a