History

Update Puppeteer documentation (5.5.0)

Simon Legner committed 5 years ago

Commit 78fb2c81 parent 3e584303 files · +5 −4Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/puppeteer/clean_html.rb +1 −0
  3. lib/docs/scrapers/puppeteer.rb +3 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -643,7 +643,7 @@ credits = [ · 642 unmodified lines
643643 'https://www.postgresql.org/about/licence/'
644644 ], [
645645 'Puppeteer',
646− '2017 Google Inc',
646+ '2020 Google Inc',
647647 'Apache',
648648 'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE'
649649 ], [
lib/docs/filters/puppeteer/clean_html.rb+1−0
@@ -8,6 +8,7 @@ module Docs · 7 unmodified lines
88
99 # Remove links to previous versions of the reference
1010 at_css('h1 + ul').remove
11+ at_css('h1 + ul').remove
1112
1213 # Remove table of contents
1314 at_css('h1 + h5').remove
lib/docs/scrapers/puppeteer.rb+3−3
@@ -1,7 +1,7 @@
11 module Docs
22 class Puppeteer < Github
3− self.release = '1.20.0'
4− self.base_url = 'https://github.com/GoogleChrome/puppeteer/blob/v1.20.0/docs/api.md'
3+ self.release = '5.5.0'
4+ self.base_url = "https://github.com/puppeteer/puppeteer/blob/v#{self.release}/docs/api.md"
55 self.links = {
66 code: 'https://github.com/GoogleChrome/puppeteer'
77 }
@@ -11,7 +11,7 @@ module Docs · 3 unmodified lines
1111 options[:container] = '.markdown-body'
1212
1313 options[:attribution] = <<-HTML
14− &copy; 2017 Google Inc<br>
14+ &copy; 2020 Google Inc<br>
1515 Licensed under the Apache License 2.0.
1616 HTML
1717