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.
devdocs/lib/docs/scrapers/iojs.rb

26 lines
672 B

module Docs
class Iojs < UrlScraper
self.name = 'io.js'
self.slug = 'iojs'
self.type = 'node'
self.version = '1.6.0'
self.base_url = 'https://iojs.org/api/'
self.links = {
home: 'https://iojs.org/en/index.html',
code: 'https://github.com/iojs/io.js'
}
html_filters.push 'node/clean_html', 'node/entries', 'title'
options[:title] = false
options[:root_title] = 'io.js'
options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
&copy; io.js contributors<br>
Licensed under the MIT License.
HTML
end
end