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

21 lines
512 B

module Docs
class Enzyme < UrlScraper
self.type = 'simple'
self.release = '3.6.0'
self.base_url = 'https://airbnb.io/enzyme/'
self.root_path = 'index.html'
self.links = {
code: 'https://github.com/airbnb/enzyme'
}
html_filters.push 'enzyme/entries', 'enzyme/clean_html'
options[:skip] = %w(CHANGELOG.html docs/future.html CONTRIBUTING.html)
options[:attribution] = <<-HTML
&copy; 2015 Airbnb, Inc.<br>
Licensed under the MIT License.
HTML
end
end