1
0

lodash.rb 509 B

1234567891011121314151617181920
  1. module Docs
  2. class Lodash < UrlScraper
  3. self.name = 'Lo-Dash'
  4. self.slug = 'lodash'
  5. self.type = 'lodash'
  6. self.version = '2.4.0'
  7. self.base_url = 'http://lodash.com/docs'
  8. html_filters.push 'lodash/clean_html', 'lodash/entries', 'title'
  9. options[:title] = 'Lo-Dash'
  10. options[:container] = 'h1+div+div'
  11. options[:skip_links] = true
  12. options[:attribution] = <<-HTML
  13. &copy; 2012&ndash;2013 The Dojo Foundation<br>
  14. Licensed under the MIT License.
  15. HTML
  16. end
  17. end