File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
assets/javascripts/templates/pages Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ credits = [
208
208
' https://creativecommons.org/licenses/by-sa/2.5/'
209
209
], [
210
210
' Crystal' ,
211
- ' 2012-2020 Manas Technology Solutions' ,
211
+ ' 2012-2021 Manas Technology Solutions' ,
212
212
' Apache' ,
213
213
' https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'
214
214
], [
Original file line number Diff line number Diff line change @@ -19,24 +19,22 @@ class Crystal < UrlScraper
19
19
HTML
20
20
else
21
21
<<-HTML
22
- © 2012–2020 Manas Technology Solutions.< br >
22
+ © 2012–2021 Manas Technology Solutions.< br >
23
23
Licensed under the Apache License, Version 2.0.
24
24
HTML
25
25
end
26
26
}
27
27
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"
31
30
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 ]
34
33
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
+ }
40
38
41
39
def get_latest_version ( opts )
42
40
doc = fetch_doc ( 'https://crystal-lang.org/' , opts )
You can’t perform that action at this time.
0 commit comments