Merge pull request #1196 from Daniel-Worrall/crystal-0.33

Update crystal 0.35
pull/1316/head
Simon Legner 4 years ago committed by GitHub
commit 8d30b7d276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -208,7 +208,7 @@ credits = [
'https://creativecommons.org/licenses/by-sa/2.5/' 'https://creativecommons.org/licenses/by-sa/2.5/'
], [ ], [
'Crystal', 'Crystal',
'2012-2019 Manas Technology Solutions', '2012-2020 Manas Technology Solutions',
'Apache', 'Apache',
'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE' 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'
], [ ], [

@ -14,7 +14,7 @@ module Docs
name name
else else
name = at_css('h1').children.last.content.strip name = at_css('.type-name').children.last.content.strip
name.remove! %r{\(.*\)} name.remove! %r{\(.*\)}
name name
end end

@ -19,27 +19,14 @@ module Docs
HTML HTML
else else
<<-HTML <<-HTML
&copy; 2012&ndash;2019 Manas Technology Solutions.<br> &copy; 2012&ndash;2020 Manas Technology Solutions.<br>
Licensed under the Apache License, Version 2.0. Licensed under the Apache License, Version 2.0.
HTML HTML
end end
} }
version '0.31' do version do
self.release = '0.31.1' self.release = '0.35.1'
self.root_path = "api/#{release}/index.html"
options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
options[:skip_patterns] = [/debug/i]
options[:replace_paths] = {
"api/#{release}/" => "api/#{release}/index.html",
'docs/' => 'docs/index.html'
}
end
version '0.30' do
self.release = '0.30.1'
self.root_path = "api/#{release}/index.html" self.root_path = "api/#{release}/index.html"
options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//] options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]

Loading…
Cancel
Save