Unified · Split
| @@ -429,7 +429,7 @@ credits = [ · 428 unmodified lines | ||
| 429 | 429 | 'https://raw.githubusercontent.com/jekyll/jekyll/master/LICENSE' |
| 430 | 430 | ], [ |
| 431 | 431 | 'Jest', |
| 432 | − '2021 Facebook, Inc.', | |
| 432 | + '2022 Facebook, Inc.', | |
| 433 | 433 | 'MIT', |
| 434 | 434 | 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE' |
| 435 | 435 | ], [ |
| @@ -9,11 +9,6 @@ module Docs · 8 unmodified lines | ||
| 9 | 9 | |
| 10 | 10 | css('hr', '.hash-link', 'button', '.badge').remove |
| 11 | 11 | |
| 12 | − css('.anchor').each do |node| | |
| 13 | − node.parent['id'] = node['id'] | |
| 14 | − node.remove | |
| 15 | − end | |
| 16 | − | |
| 17 | 12 | css('.prism-code').each do |node| |
| 18 | 13 | node.parent.parent.before(node) |
| 19 | 14 | node.name = 'pre' |
| @@ -39,7 +39,7 @@ module Docs · 38 unmodified lines | ||
| 39 | 39 | name.remove! %r{[\s=<].*} |
| 40 | 40 | name.prepend 'jest ' if name.start_with?('--') |
| 41 | 41 | name.prepend 'Config: ' if slug == 'configuration' |
| 42 | − id = node.at_css('.anchor')['id'] | |
| 42 | + id = node['id'] | |
| 43 | 43 | |
| 44 | 44 | entries << [name, id] |
| 45 | 45 | end |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Jest < UrlScraper |
| 3 | 3 | include MultipleBaseUrls |
| 4 | 4 | self.type = 'simple' |
| 5 | − self.release = '27.4.3' | |
| 5 | + self.release = '28.0.3' | |
| 6 | 6 | |
| 7 | 7 | self.base_urls = [ |
| 8 | 8 | 'https://jestjs.io/docs/', |
| @@ -23,7 +23,7 @@ module Docs · 14 unmodified lines | ||
| 23 | 23 | ] |
| 24 | 24 | |
| 25 | 25 | options[:attribution] = <<-HTML |
| 26 | − © 2021 Facebook, Inc.<br> | |
| 26 | + © 2022 Facebook, Inc.<br> | |
| 27 | 27 | Licensed under the MIT License. |
| 28 | 28 | HTML |
| 29 | 29 | |