diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee
index a8db21d1..619f8023 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -306,9 +306,9 @@ credits = [
'https://raw.githubusercontent.com/knockout/knockout/master/LICENSE'
], [
'Kotlin',
- '2010-2016 JetBrains s.r.o.',
+ '2010-2017 JetBrains s.r.o.',
'Apache',
- 'https://raw.githubusercontent.com/JetBrains/kotlin-web-site/master/LICENSE'
+ 'https://raw.githubusercontent.com/JetBrains/kotlin/master/license/LICENSE.txt'
], [
'Laravel',
'Taylor Otwell',
diff --git a/lib/docs/filters/kotlin/entries.rb b/lib/docs/filters/kotlin/entries.rb
index 15012899..71f83327 100644
--- a/lib/docs/filters/kotlin/entries.rb
+++ b/lib/docs/filters/kotlin/entries.rb
@@ -5,7 +5,7 @@ module Docs
if subpath.start_with?('api')
breadcrumbs[1..-1].join('.')
else
- at_css('h1').content
+ (at_css('h1') || at_css('h2')).content
end
end
diff --git a/lib/docs/scrapers/kotlin.rb b/lib/docs/scrapers/kotlin.rb
index d92bd277..0812f2c4 100644
--- a/lib/docs/scrapers/kotlin.rb
+++ b/lib/docs/scrapers/kotlin.rb
@@ -1,7 +1,7 @@
module Docs
class Kotlin < UrlScraper
self.type = 'kotlin'
- self.release = '1.0.4'
+ self.release = '1.1.0'
self.base_url = 'https://kotlinlang.org/'
self.root_path = 'api/latest/jvm/stdlib/index.html'
self.links = {
@@ -14,6 +14,7 @@ module Docs
options[:container] = '.global-content'
options[:only_patterns] = [/\Adocs\/tutorials\//, /\Adocs\/reference\//, /\Aapi\/latest\/jvm\/stdlib\//]
+ options[:skip_patterns] = [/stdlib\/org\./]
options[:skip] = %w(
api/latest/jvm/stdlib/alltypes/index.html
docs/
@@ -24,7 +25,7 @@ module Docs
options[:replace_paths] = { 'api/latest/jvm/stdlib/' => 'api/latest/jvm/stdlib/index.html' }
options[:attribution] = <<-HTML
- © 2010–2016 JetBrains s.r.o.
+ © 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
HTML
end