coffeescript.rb 636 B

1234567891011121314151617181920212223
  1. module Docs
  2. class Coffeescript < UrlScraper
  3. self.name = 'CoffeeScript'
  4. self.type = 'coffeescript'
  5. self.release = '1.12.6'
  6. self.base_url = 'http://coffeescript.org'
  7. self.links = {
  8. home: 'http://coffeescript.org',
  9. code: 'https://github.com/jashkenas/coffeescript'
  10. }
  11. html_filters.push 'coffeescript/clean_html', 'coffeescript/entries', 'title'
  12. options[:title] = 'CoffeeScript'
  13. options[:container] = '.container'
  14. options[:skip_links] = true
  15. options[:attribution] = <<-HTML
  16. &copy; 2009&ndash;2017 Jeremy Ashkenas<br>
  17. Licensed under the MIT License.
  18. HTML
  19. end
  20. end