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.
26 lines
672 B
26 lines
672 B
module Docs
|
|
class Iojs < UrlScraper
|
|
self.name = 'io.js'
|
|
self.slug = 'iojs'
|
|
self.type = 'node'
|
|
self.version = '2.0.2'
|
|
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
|
|
© io.js contributors<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|