Unified · Split
| @@ -23,6 +23,8 @@ module Docs · 22 unmodified lines | |||
| 23 | 23 | ||
| 24 | at_css('h1 + p').remove if current_url.path == "/api/#{release}/index.html" | 24 | at_css('h1 + p').remove if current_url.path == "/api/#{release}/index.html" |
| 25 | 25 | ||
| 26 | css('a[href="https://manas.tech/"]').remove | ||
| 27 | |||
| 26 | css('.method-permalink', '.doc + br', 'hr', 'a > br', 'div + br').remove | 28 | css('.method-permalink', '.doc + br', 'hr', 'a > br', 'div + br').remove |
| 27 | 29 | ||
| 28 | css('pre > code').each do |node| | 30 | css('pre > code').each do |node| |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Crystal < UrlScraper | 2 | class Crystal < UrlScraper |
| 3 | include MultipleBaseUrls | 3 | include MultipleBaseUrls |
| 4 | self.type = 'crystal' | 4 | self.type = 'crystal' |
| 5 | self.release = '1.10.1' | 5 | self.release = '1.11.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]}/", |
| @@ -28,7 +28,7 @@ module Docs · 19 unmodified lines | |||
| 28 | HTML | 28 | HTML |
| 29 | else | 29 | else |
| 30 | <<-HTML | 30 | <<-HTML |
| 31 | © 2012–2023 Manas Technology Solutions.<br> | 31 | © 2012–2024 Manas Technology Solutions.<br> |
| 32 | Licensed under the Apache License, Version 2.0. | 32 | Licensed under the Apache License, Version 2.0. |
| 33 | HTML | 33 | HTML |
| 34 | end | 34 | end |