From d05cc5838d64b331ecc7c38f41847c6dabc8cca7 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 27 Nov 2016 11:31:44 -0500 Subject: [PATCH] Update Crystal documentation (0.20.0) --- lib/docs/scrapers/crystal.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/crystal.rb b/lib/docs/scrapers/crystal.rb index 3484f686..c6f5d527 100644 --- a/lib/docs/scrapers/crystal.rb +++ b/lib/docs/scrapers/crystal.rb @@ -1,7 +1,7 @@ module Docs class Crystal < UrlScraper self.type = 'crystal' - self.release = '0.19.2' + self.release = '0.20.0' self.base_url = 'https://crystal-lang.org/' self.root_path = "api/#{release}/index.html" self.initial_paths = %w(docs/index.html) @@ -13,6 +13,7 @@ module Docs html_filters.push 'crystal/entries', 'crystal/clean_html' options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//] + options[:skip_patterns] = [/debug/i] options[:replace_paths] = { "api/#{release}/" => "api/#{release}/index.html",