24 lines · 629 B · Ruby
RawDownload
module Docs  class Enzyme < UrlScraper    self.type = 'simple'    self.release = '3.11.0'    self.base_url = 'https://enzymejs.github.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 docs/guides.html docs/api/ CONTRIBUTING.html)     options[:attribution] = <<-HTML      &copy; 2015 Airbnb, Inc.<br>      Licensed under the MIT License.    HTML     def get_latest_version(opts)      get_npm_version('enzyme', opts)    end  endend

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t