From cdadbd6c4355790b8fe24f30ab96ced0ee60a8ac Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Fri, 28 Aug 2020 23:56:12 +0200 Subject: [PATCH] Add checks --- Gemfile | 1 + Gemfile.lock | 4 ++++ nanoc.yaml | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/Gemfile b/Gemfile index 8e13903..c53c284 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ gem 'pdfkit' gem 'sass' gem 'sassc' gem 'slim' +gem 'nokogiri' group :nanoc do gem 'guard-nanoc' diff --git a/Gemfile.lock b/Gemfile.lock index 8b55421..d8c9644 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,6 +57,7 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) lumberjack (1.2.4) method_source (0.9.2) + mini_portile2 (2.4.0) mini_racer (0.2.9) libv8 (>= 6.9.411) multi_json (1.14.1) @@ -84,6 +85,8 @@ GEM tty-platform (~> 0.2) zeitwerk (~> 2.1) nenv (0.3.0) + nokogiri (1.10.10) + mini_portile2 (~> 2.4.0) notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) @@ -137,6 +140,7 @@ DEPENDENCIES kramdown mini_racer nanoc + nokogiri pdfkit sass sassc diff --git a/nanoc.yaml b/nanoc.yaml index 221611f..12c5273 100644 --- a/nanoc.yaml +++ b/nanoc.yaml @@ -15,3 +15,9 @@ prune: data_sources: - type: filesystem encoding: utf-8 + +checking: + enabled_checks: + - external_links + - internal_links + - stale