File tree Expand file tree Collapse file tree
assets/javascripts/templates/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ credits = [
208208 ' https://creativecommons.org/licenses/by-sa/2.5/'
209209 ], [
210210 ' Crystal' ,
211- ' 2012-2020 Manas Technology Solutions' ,
211+ ' 2012-2021 Manas Technology Solutions' ,
212212 ' Apache' ,
213213 ' https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'
214214 ], [
Original file line number Diff line number Diff line change @@ -19,24 +19,22 @@ class Crystal < UrlScraper
1919 HTML
2020 else
2121 <<-HTML
22- © 2012–2020 Manas Technology Solutions.< br >
22+ © 2012–2021 Manas Technology Solutions.< br >
2323 Licensed under the Apache License, Version 2.0.
2424 HTML
2525 end
2626 }
2727
28- version do
29- self . release = '0.36.1'
30- self . root_path = "api/#{ release } /index.html"
28+ self . release = '1.0.0'
29+ self . root_path = "api/#{ release } /index.html"
3130
32- options [ :only_patterns ] = [ /\A api\/ #{ release } \/ / , /\A reference\/ / ]
33- options [ :skip_patterns ] = [ /debug/i ]
31+ options [ :only_patterns ] = [ /\A api\/ #{ release } \/ / , /\A reference\/ / ]
32+ options [ :skip_patterns ] = [ /debug/i ]
3433
35- options [ :replace_paths ] = {
36- "api/#{ release } /" => "api/#{ release } /index.html" ,
37- 'reference/' => 'reference/index.html'
38- }
39- end
34+ options [ :replace_paths ] = {
35+ "api/#{ release } /" => "api/#{ release } /index.html" ,
36+ 'reference/' => 'reference/index.html'
37+ }
4038
4139 def get_latest_version ( opts )
4240 doc = fetch_doc ( 'https://crystal-lang.org/' , opts )
You can’t perform that action at this time.
0 commit comments