History

Update Crystal documentation (0.20.0)

Thibaut Courouble committed 9 years ago

Commit d05cc581 parent d87c0ba1 file · +2 −1Browse files

Unified · Split

lib/docs/scrapers/crystal.rb+2−1
@@ -1,7 +1,7 @@
11 module Docs
22 class Crystal < UrlScraper
33 self.type = 'crystal'
4− self.release = '0.19.2'
4+ self.release = '0.20.0'
55 self.base_url = 'https://crystal-lang.org/'
66 self.root_path = "api/#{release}/index.html"
77 self.initial_paths = %w(docs/index.html)
@@ -13,6 +13,7 @@ module Docs · 5 unmodified lines
1313 html_filters.push 'crystal/entries', 'crystal/clean_html'
1414
1515 options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
16+ options[:skip_patterns] = [/debug/i]
1617
1718 options[:replace_paths] = {
1819 "api/#{release}/" => "api/#{release}/index.html",