From d683baa2576c57d75d945565467191d24aaa3eaa Mon Sep 17 00:00:00 2001 From: Erick Sasse Date: Mon, 11 Jul 2016 23:17:30 -0300 Subject: [PATCH] Updates html-proofer code As in html-proofer docs: https://github.com/gjtorikian/html-proofer --- site/_docs/continuous-integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/_docs/continuous-integration.md b/site/_docs/continuous-integration.md index 8a50afa7..4bd01e2b 100644 --- a/site/_docs/continuous-integration.md +++ b/site/_docs/continuous-integration.md @@ -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