mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
15 lines
416 B
Ruby
15 lines
416 B
Ruby
|
#!/usr/bin/env ruby
|
||
|
|
||
|
require 'html-proofer'
|
||
|
|
||
|
options = {
|
||
|
:assume_extension => true, # (true) for extensionless paths
|
||
|
:http_status_ignore => [ 999 ], # LinkedIn throttling errors
|
||
|
:typhoeus => {
|
||
|
# avoid strange SSL errors: https://github.com/gjtorikian/html-proofer/issues/376
|
||
|
:ssl_verifypeer => false,
|
||
|
:ssl_verifyhost => 0
|
||
|
}
|
||
|
}
|
||
|
|
||
|
HTMLProofer.check_directory("./_site", options).run
|