History

jest: update to 26.6

Simon Legner committed 6 years ago

Commit b5d32981 parent f74d3083 files · +4 −3Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/jest/entries.rb +1 −0
  3. lib/docs/scrapers/jest.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -378,7 +378,7 @@ credits = [ · 377 unmodified lines
378 'https://raw.githubusercontent.com/jekyll/jekyll/master/LICENSE'378 'https://raw.githubusercontent.com/jekyll/jekyll/master/LICENSE'
379 ], [379 ], [
380 'Jest',380 'Jest',
381 'Facebook, Inc. and its affiliates.',381 '2020 Facebook, Inc.',
382 'MIT',382 'MIT',
383 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE'383 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE'
384 ], [384 ], [
lib/docs/filters/jest/entries.rb+1−0
@@ -19,6 +19,7 @@ module Docs · 18 unmodified lines
19 19
20 def additional_entries20 def additional_entries
21 return [] unless !root_page? && self.type == self.name # api page21 return [] unless !root_page? && self.type == self.name # api page
22 return [] if self.slug == 'environment-variables'
22 23
23 entries = []24 entries = []
24 25
lib/docs/scrapers/jest.rb+2−2
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Jest < UrlScraper2 class Jest < UrlScraper
3 self.type = 'simple'3 self.type = 'simple'
4 self.release = '24.9'4 self.release = '26.6'
5 self.base_url = 'https://jestjs.io/docs/en/'5 self.base_url = 'https://jestjs.io/docs/en/'
6 self.root_path = 'getting-started'6 self.root_path = 'getting-started'
7 self.links = {7 self.links = {
@@ -14,7 +14,7 @@ module Docs · 6 unmodified lines
14 options[:container] = '.docMainWrapper'14 options[:container] = '.docMainWrapper'
15 15
16 options[:attribution] = <<-HTML16 options[:attribution] = <<-HTML
17 &copy; 2019 Facebook, Inc. and its affiliates.<br>17 &copy; 2020 Facebook, Inc.<br>
18 Licensed under the MIT License.18 Licensed under the MIT License.
19 HTML19 HTML
20 20

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