Skip to content

Commit c0a2405

Browse files
committed
add proofer
1 parent e5db127 commit c0a2405

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: ruby
2+
cache: bundler
3+
gemfile: docs/Gemfile
4+
script:
5+
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
6+
branches:
7+
only:
8+
# Change this to gh-pages if you're deploying using the gh-pages branch
9+
- master
10+
rvm:
11+
- 2.4

Rakefile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
require "bundler/gem_tasks"
22
require "jekyll"
33
require "listen"
4-
require 'html-proofer'
5-
6-
task :build do
7-
puts 'Building site...'.bold
8-
Jekyll::Commands::Build.process(profile: true, future: true)
9-
end
10-
11-
task :html_proofer do
12-
Rake::Task['build'].invoke
13-
puts 'Running html proofer...'
14-
HTMLProofer.check_directory('./_site').run
15-
end
164

175
def listen_ignore_paths(base, options)
186
[

0 commit comments

Comments
 (0)