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