Skip to content

Commit 837c6e6

Browse files
authored
Merge branch 'main' into main
2 parents e1c967a + a49e13d commit 837c6e6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/docs/scrapers/crystal.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Crystal < UrlScraper
33
include MultipleBaseUrls
44
self.type = 'crystal'
5-
self.release = '1.11.1'
5+
self.release = '1.13.1'
66
self.base_urls = [
77
"https://crystal-lang.org/api/#{release}/",
88
"https://crystal-lang.org/reference/#{release[0..2]}/",
@@ -19,6 +19,12 @@ def initial_urls
1919

2020
html_filters.push 'crystal/entries', 'crystal/clean_html'
2121

22+
options[:skip_patterns] = [
23+
%r{\ACrystal/System/},
24+
%r{\AIO/Evented.html\z},
25+
%r{\ARegex/PCRE2.html\z}
26+
]
27+
2228
options[:attribution] = ->(filter) {
2329
if filter.current_url.path.start_with?('/reference/')
2430
<<-HTML

0 commit comments

Comments
 (0)