|
|
@ -1,11 +1,11 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Jest < UrlScraper
|
|
|
|
class Jest < UrlScraper
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.release = '24.8.0'
|
|
|
|
self.release = '24.9'
|
|
|
|
self.base_url = 'https://jestjs.io/docs/en/'
|
|
|
|
self.base_url = 'https://jestjs.io/docs/en/'
|
|
|
|
self.root_path = 'getting-started'
|
|
|
|
self.root_path = 'getting-started'
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://facebook.github.io/jest/',
|
|
|
|
home: 'https://jestjs.io/',
|
|
|
|
code: 'https://github.com/facebook/jest'
|
|
|
|
code: 'https://github.com/facebook/jest'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -14,8 +14,8 @@ module Docs
|
|
|
|
options[:container] = '.docMainWrapper'
|
|
|
|
options[:container] = '.docMainWrapper'
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2014–present Facebook Inc.<br>
|
|
|
|
© 2019 Facebook, Inc. and its affiliates.<br>
|
|
|
|
Licensed under the BSD License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
def get_latest_version(opts)
|
|
|
|