Skip to content

Commit

Permalink
Add HTML proofer
Browse files Browse the repository at this point in the history
This is inspired by @fwalch's great work (as usual) with adding it to
Neovim.org's repo:
    - neovim/neovim.github.io#84
  • Loading branch information
jdavis committed Jan 9, 2015
1 parent 43ff413 commit 9f5dfaf
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ source 'https://rubygems.org'
gem 'github-pages', '~> 28'
gem 'jekyll', '~> 2.4.0'
gem 'kramdown', '~> 1.3.1'
gem 'rake'

gem 'fastimage', require: false
group :test do
gem 'html-proofer'
gem 'rake'
gem 'fastimage'
end
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ GEM
execjs
coffee-script-source (1.8.0)
colorator (0.1)
colored (1.2)
ethon (0.7.2)
ffi (>= 1.3.0)
execjs (2.2.2)
fast-stemmer (1.0.2)
fastimage (1.6.4)
Expand All @@ -44,6 +47,14 @@ GEM
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
html-proofer (1.6.0)
addressable (~> 2.3)
colored (~> 1.2)
mercenary (~> 0.3.2)
nokogiri (~> 1.5)
parallel (~> 1.3)
typhoeus (~> 0.6.7)
yell (~> 2.0)
i18n (0.6.11)
jekyll (2.4.0)
classifier-reborn (~> 2.0)
Expand Down Expand Up @@ -91,6 +102,7 @@ GEM
minitest (5.4.3)
nokogiri (1.6.4.1)
mini_portile (~> 0.6.0)
parallel (1.3.3)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.9)
Expand All @@ -110,16 +122,20 @@ GEM
hitimes
toml (0.1.2)
parslet (~> 1.5.0)
typhoeus (0.6.9)
ethon (>= 0.7.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yajl-ruby (1.1.0)
yell (2.0.5)

PLATFORMS
ruby

DEPENDENCIES
fastimage
github-pages (~> 28)
html-proofer
jekyll (~> 2.4.0)
kramdown (~> 1.3.1)
rake
11 changes: 10 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
task :default => [:verify]
require 'html/proofer'

task :default => [:verify, :test]

task :verify do
ruby "./verify.rb"
end

task :test do
sh 'bundle exec jekyll build --drafts'
HTML::Proofer.new('./_site',
:parallel => { :in_threads => 8 },
).run
end

0 comments on commit 9f5dfaf

Please sign in to comment.