lodash.rb 469 B

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