History

Merge pull request #2477 from spuun/crystal-1.16.1

Crystal 1.16.1

Simon Legner committed 1 year ago

Commit cc0551f2 parents c35c628 585a1201 file · +4 −2Browse files

Unified · Split

lib/docs/scrapers/crystal.rb+4−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Crystal < UrlScraper2 class Crystal < UrlScraper
3 include MultipleBaseUrls3 include MultipleBaseUrls
4 self.type = 'crystal'4 self.type = 'crystal'
5 self.release = '1.16.0'5 self.release = '1.16.1'
6 self.base_urls = [6 self.base_urls = [
7 "https://crystal-lang.org/api/#{release}/",7 "https://crystal-lang.org/api/#{release}/",
8 "https://crystal-lang.org/reference/#{release[0..2]}/",8 "https://crystal-lang.org/reference/#{release[0..2]}/",
@@ -20,8 +20,10 @@ module Docs · 11 unmodified lines
20 html_filters.push 'crystal/entries', 'crystal/clean_html'20 html_filters.push 'crystal/entries', 'crystal/clean_html'
21 21
22 options[:skip_patterns] = [22 options[:skip_patterns] = [
23 %r{\ACrystal/System/},23 %r{\ALibLLVM\.html\z},
24 %r{\ACrystal/System(/|\.html\z)},
24 %r{\ACrystal/PointerPairingHeap/},25 %r{\ACrystal/PointerPairingHeap/},
26 %r{\AFiber/ExecutionContext/Scheduler.html\z},
25 %r{\AIO/Evented.html\z},27 %r{\AIO/Evented.html\z},
26 %r{\ARegex/PCRE2.html\z}28 %r{\ARegex/PCRE2.html\z}
27 ]29 ]