1
0

sinon.rb 476 B

12345678910111213141516171819
  1. module Docs
  2. class Sinon < UrlScraper
  3. self.name = 'Sinon'
  4. self.type = 'sinon'
  5. self.version = '1.10.2'
  6. self.base_url = 'http://sinonjs.org/docs/'
  7. html_filters.push 'sinon/clean_html', 'sinon/entries', 'title'
  8. options[:title] = 'Sinon.JS'
  9. options[:container] = '.docs'
  10. options[:skip_links] = true
  11. options[:attribution] = <<-HTML
  12. &copy; 2010&ndash;2014 Christian Johansen<br>
  13. Licensed under the BSD License.
  14. HTML
  15. end
  16. end