History

Update Kotlin documentation (1.0.3)

Thibaut Courouble committed 10 years ago

Commit 4d464cc1 parent bc63f062 files · +2 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/kotlin/clean_html.rb +1 −0
  2. lib/docs/scrapers/kotlin.rb +1 −1
lib/docs/filters/kotlin/clean_html.rb+1−0
@@ -42,6 +42,7 @@ module Docs · 41 unmodified lines
4242 parent.name = 'pre'
4343 parent.inner_html = node.inner_html.gsub('<br>', "\n").strip
4444 parent.content = parent.content
45+ parent['data-language'] = 'kotlin'
4546 end
4647 end
4748 end
lib/docs/scrapers/kotlin.rb+1−1
@@ -1,7 +1,7 @@
11 module Docs
22 class Kotlin < UrlScraper
33 self.type = 'kotlin'
4− self.release = '1.0.2'
4+ self.release = '1.0.3'
55 self.base_url = 'https://kotlinlang.org/'
66 self.root_path = 'api/latest/jvm/stdlib/index.html'
77 self.links = {