devdocs/lib/docs/scrapers/maxcdn.rb
2014-05-04 12:14:50 -04:00

17 lines
394 B
Ruby

module Docs
class Maxcdn < UrlScraper
self.name = 'MaxCDN'
self.type = 'maxcdn'
self.base_url = 'http://docs.maxcdn.com/'
html_filters.push 'maxcdn/clean_html', 'maxcdn/entries'
options[:container] = '#readme-docs'
options[:skip_links] = true
options[:attribution] = <<-HTML
&copy; 2014 MaxCDN<br>
Licensed under the MIT License.
HTML
end
end