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
42 parent.name = 'pre'42 parent.name = 'pre'
43 parent.inner_html = node.inner_html.gsub('<br>', "\n").strip43 parent.inner_html = node.inner_html.gsub('<br>', "\n").strip
44 parent.content = parent.content44 parent.content = parent.content
45 parent['data-language'] = 'kotlin'
45 end46 end
46 end47 end
47 end48 end
lib/docs/scrapers/kotlin.rb+1−1
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Kotlin < UrlScraper2 class Kotlin < UrlScraper
3 self.type = 'kotlin'3 self.type = 'kotlin'
4 self.release = '1.0.2'4 self.release = '1.0.3'
5 self.base_url = 'https://kotlinlang.org/'5 self.base_url = 'https://kotlinlang.org/'
6 self.root_path = 'api/latest/jvm/stdlib/index.html'6 self.root_path = 'api/latest/jvm/stdlib/index.html'
7 self.links = {7 self.links = {