_site Gemfile.lock
2.3.1
language: ruby rvm: - 2.3.1 sudo: false cache: bundler
source 'https://rubygems.org'
gem 'rake' gem 'github-pages' gem 'html-proofer'
require 'html-proofer'
task :rebuild do sh "rm -rf _site" sh "bundle exec jekyll build" end
task :htmlproofer => :rebuild do ignored = [ "http://githubeditor.herokuapp.com" ] HTMLProofer.checkdirectory("./site", typhoeus: {sslverifypeer: false, timeout: 30}, urlignore: ignored, checkhtml: true, assumeextension: ".html").run end
task :default => [:htmlproofer]
<!DOCTYPE HTML>
{{ content }}_site Gemfile.lock
2.3.1
language: ruby rvm: - 2.3.1 sudo: false cache: bundler
source 'https://rubygems.org'
gem 'rake' gem 'github-pages' gem 'html-proofer'
require 'html-proofer'
task :rebuild do sh "rm -rf _site" sh "bundle exec jekyll build" end
task :htmlproofer => :rebuild do ignored = [ "http://githubeditor.herokuapp.com" ] HTMLProofer.checkdirectory("./site", typhoeus: {sslverifypeer: false, timeout: 30}, urlignore: ignored, checkhtml: true, assumeextension: ".html").run end
task :default => [:htmlproofer]
exclude: ["vendor"]
<!DOCTYPE HTML>
{{ content }}_site Gemfile.lock
language 'en_GB' ignored %w{ ABV Akrotiri anonymise Archives' Beeching Berne Bitcoin BT Carta CCS Chagos Chagossians children's citizens' decarbonisation decarbonise delist Dhekelia driverless equalities ETCS Eurozone Falklanders FOIA fracking frontline Gatwick GINI GitHub GNI GP healthcare Horsham incentivise incentivising IP IPCC IPSO ISDS ISP HTML Leveson localism Lothian LVT Magna MDMA MEP millennia Montreux MPA MP MUP mutuals neuropsychopharmacologist NHS NIO nootropics NSGT Nutt OFCOM OpenlyLocal OpenPolitics PKK PMSC preapprove prenegotiate Remembrancer roadmap searchable Soufrière STV supergrid termism TheyWorkForYou timeline TTIP unburnt unelected unwinnable VED workers' Weald Zealand }
2.3.1
language: ruby rvm: - 2.3.1 sudo: false cache: bundler
source 'https://rubygems.org'
gem 'rake' gem 'github-pages' gem 'html-proofer' gem 'mdspell'
require 'html-proofer'
task :rebuild do sh "rm -rf _site" sh "bundle exec jekyll build" end
task :htmlproofer => :rebuild do ignored = [ "http://githubeditor.herokuapp.com" ] HTMLProofer.checkdirectory("./site", typhoeus: {sslverifypeer: false, timeout: 30}, urlignore: ignored, checkhtml: true, assumeextension: ".html").run end
task :spellcheck do sh "mdspell . -c .mdspell" end
task :default => [:htmlproofer, :spellcheck]
exclude: ["vendor"]
<!DOCTYPE HTML>
{{ content }}
@Floppy - over 7 years ago
Add basic jekyll config, HTMLProofer test, and travis config. Allows meaningful tests to be carried out.