Merge pull request #5098 from esasse/patch-1

Merge pull request 5098
This commit is contained in:
jekyllbot 2016-07-12 19:22:39 -07:00 committed by GitHub
commit 49573b6fcf
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 %}
#!/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