mirror of https://github.com/freeCodeCamp/devdocs
parent
6f260637fa
commit
9f67605e9b
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 68 KiB |
@ -0,0 +1,21 @@
|
|||||||
|
module Docs
|
||||||
|
class Iojs < UrlScraper
|
||||||
|
self.name = 'io.js'
|
||||||
|
self.slug = 'iojs'
|
||||||
|
self.type = 'node'
|
||||||
|
self.version = '1.2.0'
|
||||||
|
self.base_url = 'https://iojs.org/api/'
|
||||||
|
|
||||||
|
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
|
After Width: | Height: | Size: 524 B |
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1 @@
|
|||||||
|
https://iojs.org/
|
Loading…
Reference in new issue