Update Puppeteer documentation (5.5.0)

pull/1356/head
Simon Legner 4 years ago
parent 3e58430c49
commit 78fb2c812a

@ -643,7 +643,7 @@ credits = [
'https://www.postgresql.org/about/licence/' 'https://www.postgresql.org/about/licence/'
], [ ], [
'Puppeteer', 'Puppeteer',
'2017 Google Inc', '2020 Google Inc',
'Apache', 'Apache',
'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE' 'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE'
], [ ], [

@ -8,6 +8,7 @@ module Docs
# Remove links to previous versions of the reference # Remove links to previous versions of the reference
at_css('h1 + ul').remove at_css('h1 + ul').remove
at_css('h1 + ul').remove
# Remove table of contents # Remove table of contents
at_css('h1 + h5').remove at_css('h1 + h5').remove

@ -1,7 +1,7 @@
module Docs module Docs
class Puppeteer < Github class Puppeteer < Github
self.release = '1.20.0' self.release = '5.5.0'
self.base_url = 'https://github.com/GoogleChrome/puppeteer/blob/v1.20.0/docs/api.md' self.base_url = "https://github.com/puppeteer/puppeteer/blob/v#{self.release}/docs/api.md"
self.links = { self.links = {
code: 'https://github.com/GoogleChrome/puppeteer' code: 'https://github.com/GoogleChrome/puppeteer'
} }
@ -11,7 +11,7 @@ module Docs
options[:container] = '.markdown-body' options[:container] = '.markdown-body'
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2017 Google Inc<br> &copy; 2020 Google Inc<br>
Licensed under the Apache License 2.0. Licensed under the Apache License 2.0.
HTML HTML

Loading…
Cancel
Save