less.rb 468 B

123456789101112131415161718
  1. module Docs
  2. class Less < UrlScraper
  3. self.type = 'less'
  4. self.version = '1.6.0'
  5. self.base_url = 'http://lesscss.org'
  6. html_filters.push 'less/clean_html', 'less/entries', 'title'
  7. options[:title] = 'LESS'
  8. options[:container] = 'section'
  9. options[:skip_links] = true
  10. options[:attribution] = <<-HTML
  11. &copy; 2009&ndash;2014 Alexis Sellier &amp; The Core Less Team<br>
  12. Licensed under the Apache License v2.0.
  13. HTML
  14. end
  15. end