Merge pull request #1303 from simon04/jest-26

jest: update to 26.6
pull/1304/head
Simon Legner 4 years ago committed by GitHub
commit 1cff7ac160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -378,7 +378,7 @@ credits = [
'https://raw.githubusercontent.com/jekyll/jekyll/master/LICENSE' 'https://raw.githubusercontent.com/jekyll/jekyll/master/LICENSE'
], [ ], [
'Jest', 'Jest',
'Facebook, Inc. and its affiliates.', '2020 Facebook, Inc.',
'MIT', 'MIT',
'https://raw.githubusercontent.com/facebook/jest/master/LICENSE' 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE'
], [ ], [

@ -19,6 +19,7 @@ module Docs
def additional_entries def additional_entries
return [] unless !root_page? && self.type == self.name # api page return [] unless !root_page? && self.type == self.name # api page
return [] if self.slug == 'environment-variables'
entries = [] entries = []

@ -1,7 +1,7 @@
module Docs module Docs
class Jest < UrlScraper class Jest < UrlScraper
self.type = 'simple' self.type = 'simple'
self.release = '24.9' self.release = '26.6'
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 = {
@ -14,7 +14,7 @@ module Docs
options[:container] = '.docMainWrapper' options[:container] = '.docMainWrapper'
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2019 Facebook, Inc. and its affiliates.<br> &copy; 2020 Facebook, Inc.<br>
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML

Loading…
Cancel
Save