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/ramda.rb

23 lines
549 B

9 years ago
module Docs
class Ramda < UrlScraper
self.name = 'Ramda'
self.slug = 'ramda'
self.type = 'ramda'
self.release = '0.19.1'
self.base_url = 'http://ramdajs.com/docs'
self.links = {
home: 'http://ramdajs.com/',
code: 'https://github.com/ramda/ramda/'
}
html_filters.push 'ramda/entries', 'ramda/clean_html', 'title'
options[:title] = 'Ramda'
options[:attribution] = <<-HTML
&copy; 2013&ndash;2014 Scott Sauyet and Michael Hurley<br>
Licensed under the MIT License.
HTML
end
end