mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Crystal documentation (1.11.1)
This commit is contained in:
parent
30a8b16a31
commit
33fc830ea5
2 changed files with 4 additions and 2 deletions
|
@ -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|
|
||||
|
|
|
@ -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
|
||||
© 2012–2023 Manas Technology Solutions.<br>
|
||||
© 2012–2024 Manas Technology Solutions.<br>
|
||||
Licensed under the Apache License, Version 2.0.
|
||||
HTML
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue