mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
554 B
22 lines
554 B
9 years ago
|
module Docs
|
||
|
class Kotlin < UrlScraper
|
||
|
self.type = 'kotlin'
|
||
|
self.release = '1.0.2'
|
||
|
self.base_url = 'https://kotlinlang.org/api/latest/jvm/stdlib/'
|
||
|
self.root_path = 'index.html'
|
||
|
self.links = {
|
||
|
home: 'https://kotlinlang.org/',
|
||
|
code: 'https://github.com/JetBrains/kotlin'
|
||
|
}
|
||
|
|
||
|
html_filters.push 'kotlin/entries', 'kotlin/clean_html'
|
||
|
|
||
|
options[:container] = '.page-content'
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
© 2016 JetBrains<br>
|
||
|
Licensed under the Apache License, Version 2.0.
|
||
|
HTML
|
||
|
end
|
||
|
end
|