mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-04-24 04:15:48 +08:00
Add html-proofer
This commit is contained in:
15
script/html-proofer
Executable file
15
script/html-proofer
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require "bundler/setup"
|
||||
require "html-proofer"
|
||||
|
||||
url_ignores = [
|
||||
# add links to ignore here
|
||||
]
|
||||
|
||||
HTMLProofer::Runner.new(["_site"],
|
||||
:type => :directory,
|
||||
:url_ignore => url_ignores,
|
||||
:verbose => !!ENV["VERBOSE"],
|
||||
:check_html => true
|
||||
).run
|
||||
Reference in New Issue
Block a user