Skip to content

Commit 33fc830

Browse files
committed
Update Crystal documentation (1.11.1)
1 parent 30a8b16 commit 33fc830

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/docs/filters/crystal/clean_html.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def api
2323

2424
at_css('h1 + p').remove if current_url.path == "/api/#{release}/index.html"
2525

26+
css('a[href="https://manas.tech/"]').remove
27+
2628
css('.method-permalink', '.doc + br', 'hr', 'a > br', 'div + br').remove
2729

2830
css('pre > code').each do |node|

lib/docs/scrapers/crystal.rb

Lines changed: 2 additions & 2 deletions
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.10.1'
5+
self.release = '1.11.1'
66
self.base_urls = [
77
"https://crystal-lang.org/api/#{release}/",
88
"https://crystal-lang.org/reference/#{release[0..2]}/",
@@ -28,7 +28,7 @@ def initial_urls
2828
HTML
2929
else
3030
<<-HTML
31-
&copy; 2012&ndash;2023 Manas Technology Solutions.<br>
31+
&copy; 2012&ndash;2024 Manas Technology Solutions.<br>
3232
Licensed under the Apache License, Version 2.0.
3333
HTML
3434
end

0 commit comments

Comments
 (0)