Update crystal 0.35
Unified · Split
| @@ -208,7 +208,7 @@ credits = [ · 207 unmodified lines | ||
| 208 | 208 | 'https://creativecommons.org/licenses/by-sa/2.5/' |
| 209 | 209 | ], [ |
| 210 | 210 | 'Crystal', |
| 211 | − '2012-2019 Manas Technology Solutions', | |
| 211 | + '2012-2020 Manas Technology Solutions', | |
| 212 | 212 | 'Apache', |
| 213 | 213 | 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE' |
| 214 | 214 | ], [ |
| @@ -14,7 +14,7 @@ module Docs · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | name |
| 16 | 16 | else |
| 17 | − name = at_css('h1').children.last.content.strip | |
| 17 | + name = at_css('.type-name').children.last.content.strip | |
| 18 | 18 | name.remove! %r{\(.*\)} |
| 19 | 19 | name |
| 20 | 20 | end |
| @@ -19,27 +19,14 @@ module Docs · 18 unmodified lines | ||
| 19 | 19 | HTML |
| 20 | 20 | else |
| 21 | 21 | <<-HTML |
| 22 | − © 2012–2019 Manas Technology Solutions.<br> | |
| 22 | + © 2012–2020 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 '0.31' do | |
| 29 | − self.release = '0.31.1' | |
| 30 | − self.root_path = "api/#{release}/index.html" | |
| 31 | − | |
| 32 | − options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//] | |
| 33 | − options[:skip_patterns] = [/debug/i] | |
| 34 | − | |
| 35 | − options[:replace_paths] = { | |
| 36 | − "api/#{release}/" => "api/#{release}/index.html", | |
| 37 | − 'docs/' => 'docs/index.html' | |
| 38 | − } | |
| 39 | − end | |
| 40 | − | |
| 41 | − version '0.30' do | |
| 42 | − self.release = '0.30.1' | |
| 28 | + version do | |
| 29 | + self.release = '0.35.1' | |
| 43 | 30 | self.root_path = "api/#{release}/index.html" |
| 44 | 31 | |
| 45 | 32 | options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//] |