1
0

jest.rb 562 B

123456789101112131415161718192021
  1. module Docs
  2. class Jest < UrlScraper
  3. self.type = 'jest'
  4. self.release = '22.3.0'
  5. self.base_url = 'https://facebook.github.io/jest/docs/en/'
  6. self.root_path = 'getting-started.html'
  7. self.links = {
  8. home: 'https://facebook.github.io/jest/',
  9. code: 'https://github.com/facebook/jest'
  10. }
  11. html_filters.push 'jest/entries', 'jest/clean_html'
  12. options[:container] = '.docMainWrapper'
  13. options[:attribution] = <<-HTML
  14. &copy; 2014&ndash;present Facebook Inc.<br>
  15. Licensed under the BSD License.
  16. HTML
  17. end
  18. end