Unified · Split
| @@ -643,7 +643,7 @@ credits = [ · 642 unmodified lines | |||
| 643 | 'https://www.postgresql.org/about/licence/' | 643 | 'https://www.postgresql.org/about/licence/' |
| 644 | ], [ | 644 | ], [ |
| 645 | 'Puppeteer', | 645 | 'Puppeteer', |
| 646 | '2017 Google Inc', | 646 | '2020 Google Inc', |
| 647 | 'Apache', | 647 | 'Apache', |
| 648 | 'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE' | 648 | 'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE' |
| 649 | ], [ | 649 | ], [ |
| @@ -8,6 +8,7 @@ module Docs · 7 unmodified lines | |||
| 8 | 8 | ||
| 9 | # Remove links to previous versions of the reference | 9 | # Remove links to previous versions of the reference |
| 10 | at_css('h1 + ul').remove | 10 | at_css('h1 + ul').remove |
| 11 | at_css('h1 + ul').remove | ||
| 11 | 12 | ||
| 12 | # Remove table of contents | 13 | # Remove table of contents |
| 13 | at_css('h1 + h5').remove | 14 | at_css('h1 + h5').remove |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Puppeteer < Github | 2 | class Puppeteer < Github |
| 3 | self.release = '1.20.0' | 3 | self.release = '5.5.0' |
| 4 | self.base_url = 'https://github.com/GoogleChrome/puppeteer/blob/v1.20.0/docs/api.md' | 4 | self.base_url = "https://github.com/puppeteer/puppeteer/blob/v#{self.release}/docs/api.md" |
| 5 | self.links = { | 5 | self.links = { |
| 6 | code: 'https://github.com/GoogleChrome/puppeteer' | 6 | code: 'https://github.com/GoogleChrome/puppeteer' |
| 7 | } | 7 | } |
| @@ -11,7 +11,7 @@ module Docs · 3 unmodified lines | |||
| 11 | options[:container] = '.markdown-body' | 11 | options[:container] = '.markdown-body' |
| 12 | 12 | ||
| 13 | options[:attribution] = <<-HTML | 13 | options[:attribution] = <<-HTML |
| 14 | © 2017 Google Inc<br> | 14 | © 2020 Google Inc<br> |
| 15 | Licensed under the Apache License 2.0. | 15 | Licensed under the Apache License 2.0. |
| 16 | HTML | 16 | HTML |
| 17 | 17 | ||