You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/express.rb

20 lines
492 B

module Docs
class Express < UrlScraper
self.name = 'Express'
self.type = 'express'
self.version = '4.10.0'
self.base_url = 'http://expressjs.com/4x/api.html'
html_filters.push 'express/clean_html', 'express/entries', 'title'
options[:title] = 'Express'
options[:container] = '#api-doc'
options[:skip_links] = true
options[:attribution] = <<-HTML
&copy; 2009&ndash;2014 TJ Holowaychuk<br>
Licensed under the MIT License.
HTML
end
end