mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
23 lines
588 B
Ruby
23 lines
588 B
Ruby
module Docs
|
|
class Sinon < UrlScraper
|
|
self.name = 'Sinon'
|
|
self.type = 'sinon'
|
|
self.release = '1.17.5'
|
|
self.base_url = 'http://sinonjs.org/docs/'
|
|
self.links = {
|
|
home: 'http://sinonjs.org/',
|
|
code: 'https://github.com/cjohansen/Sinon.JS'
|
|
}
|
|
|
|
html_filters.push 'sinon/clean_html', 'sinon/entries', 'title'
|
|
|
|
options[:title] = 'Sinon.JS'
|
|
options[:container] = '.docs'
|
|
options[:skip_links] = true
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2010–2016 Christian Johansen<br>
|
|
Licensed under the BSD License.
|
|
HTML
|
|
end
|
|
end
|