Skip to content

Commit ccc4711

Browse files
committed
Update Crystal documentation (1.21.0)
1 parent 3253701 commit ccc4711

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/docs/filters/crystal/clean_html.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module Docs
22
class Crystal
33
class CleanHtmlFilter < Filter
44
def call
5+
css('a:contains("Edit this page")').remove
56
current_url.path.start_with?('/reference/') ? book : api
67
doc
78
end

‎lib/docs/scrapers/crystal.rb‎

Lines changed: 1 addition & 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.20.0'
5+
self.release = '1.21.0'
66
self.base_urls = [
77
"https://crystal-lang.org/api/#{release}/",
88
"https://crystal-lang.org/reference/#{release[0..2]}/",

0 commit comments

Comments
 (0)