Update Crystal documentation (1.11.1)

This commit is contained in:
Simon Legner 2024-01-15 17:48:28 +01:00
parent 30a8b16a31
commit 33fc830ea5
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,8 @@ module Docs
at_css('h1 + p').remove if current_url.path == "/api/#{release}/index.html"
css('a[href="https://manas.tech/"]').remove
css('.method-permalink', '.doc + br', 'hr', 'a > br', 'div + br').remove
css('pre > code').each do |node|

View file

@ -2,7 +2,7 @@ module Docs
class Crystal < UrlScraper
include MultipleBaseUrls
self.type = 'crystal'
self.release = '1.10.1'
self.release = '1.11.1'
self.base_urls = [
"https://crystal-lang.org/api/#{release}/",
"https://crystal-lang.org/reference/#{release[0..2]}/",
@ -28,7 +28,7 @@ module Docs
HTML
else
<<-HTML
&copy; 2012&ndash;2023 Manas Technology Solutions.<br>
&copy; 2012&ndash;2024 Manas Technology Solutions.<br>
Licensed under the Apache License, Version 2.0.
HTML
end