express.rb 492 B

12345678910111213141516171819
  1. module Docs
  2. class Express < UrlScraper
  3. self.name = 'Express'
  4. self.type = 'express'
  5. self.version = '4.10.0'
  6. self.base_url = 'http://expressjs.com/4x/api.html'
  7. html_filters.push 'express/clean_html', 'express/entries', 'title'
  8. options[:title] = 'Express'
  9. options[:container] = '#api-doc'
  10. options[:skip_links] = true
  11. options[:attribution] = <<-HTML
  12. &copy; 2009&ndash;2014 TJ Holowaychuk<br>
  13. Licensed under the MIT License.
  14. HTML
  15. end
  16. end