1
0

coffeescript.rb 515 B

12345678910111213141516171819
  1. module Docs
  2. class Coffeescript < UrlScraper
  3. self.name = 'CoffeeScript'
  4. self.type = 'coffeescript'
  5. self.version = '1.8.0'
  6. self.base_url = 'http://coffeescript.org'
  7. html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title'
  8. options[:title] = 'CoffeeScript'
  9. options[:container] = '.container'
  10. options[:skip_links] = true
  11. options[:attribution] = <<-HTML
  12. &copy; 2009&ndash;2014 Jeremy Ashkenas<br>
  13. Licensed under the MIT License.
  14. HTML
  15. end
  16. end