1
0

sinon.rb 588 B

1234567891011121314151617181920212223
  1. module Docs
  2. class Sinon < UrlScraper
  3. self.name = 'Sinon'
  4. self.type = 'sinon'
  5. self.release = '1.17.5'
  6. self.base_url = 'http://sinonjs.org/docs/'
  7. self.links = {
  8. home: 'http://sinonjs.org/',
  9. code: 'https://github.com/cjohansen/Sinon.JS'
  10. }
  11. html_filters.push 'sinon/clean_html', 'sinon/entries', 'title'
  12. options[:title] = 'Sinon.JS'
  13. options[:container] = '.docs'
  14. options[:skip_links] = true
  15. options[:attribution] = <<-HTML
  16. &copy; 2010&ndash;2016 Christian Johansen<br>
  17. Licensed under the BSD License.
  18. HTML
  19. end
  20. end