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/sinon.rb

24 lines
588 B

module Docs
class Sinon < UrlScraper
self.name = 'Sinon'
self.type = 'sinon'
self.release = '1.17.3'
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
&copy; 2010&ndash;2016 Christian Johansen<br>
Licensed under the BSD License.
HTML
end
end