diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 8ac93ed4..c9983402 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -203,7 +203,7 @@ credits = [ 'https://creativecommons.org/licenses/by-sa/2.5/' ], [ 'Crystal', - '2012-2019 Manas Technology Solutions', + '2012-2020 Manas Technology Solutions', 'Apache', 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE' ], [ diff --git a/lib/docs/filters/crystal/entries.rb b/lib/docs/filters/crystal/entries.rb index 3a54e3c6..de2f91a0 100644 --- a/lib/docs/filters/crystal/entries.rb +++ b/lib/docs/filters/crystal/entries.rb @@ -14,7 +14,7 @@ module Docs name else - name = at_css('h1').children.last.content.strip + name = at_css('.type-name').children.last.content.strip name.remove! %r{\(.*\)} name end diff --git a/lib/docs/scrapers/crystal.rb b/lib/docs/scrapers/crystal.rb index 0a14ab43..4b106167 100644 --- a/lib/docs/scrapers/crystal.rb +++ b/lib/docs/scrapers/crystal.rb @@ -19,27 +19,14 @@ module Docs HTML else <<-HTML - © 2012–2019 Manas Technology Solutions.
+ © 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0. HTML end } - version '0.34' do - self.release = '0.34.0' - 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.33' do - self.release = '0.33.0' + version do + self.release = '0.35.1' self.root_path = "api/#{release}/index.html" options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]