浏览代码

Update Puppeteer documentation (7.1.0)

Simon Legner 4 年之前
父节点
当前提交
f984f76c21
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 2 2
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 3 3
      lib/docs/scrapers/puppeteer.rb

+ 2 - 2
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -648,9 +648,9 @@ credits = [
     'https://www.postgresql.org/about/licence/'
     'https://www.postgresql.org/about/licence/'
   ], [
   ], [
     'Puppeteer',
     'Puppeteer',
-    '2020 Google Inc',
+    '2021 Google Inc',
     'Apache',
     'Apache',
-    'https://raw.githubusercontent.com/GoogleChrome/puppeteer/master/LICENSE'
+    'https://raw.githubusercontent.com/puppeteer/puppeteer/master/LICENSE'
   ], [
   ], [
     'Pygame',
     'Pygame',
     'Pygame Developers',
     'Pygame Developers',

+ 3 - 3
lib/docs/scrapers/puppeteer.rb

@@ -1,9 +1,9 @@
 module Docs
 module Docs
   class Puppeteer < Github
   class Puppeteer < Github
-    self.release = '5.5.0'
+    self.release = '7.1.0'
     self.base_url = "https://github.com/puppeteer/puppeteer/blob/v#{self.release}/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/puppeteer/puppeteer/'
     }
     }
 
 
     html_filters.push 'puppeteer/entries', 'puppeteer/clean_html'
     html_filters.push 'puppeteer/entries', 'puppeteer/clean_html'
@@ -11,7 +11,7 @@ module Docs
     options[:container] = '.markdown-body'
     options[:container] = '.markdown-body'
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 2020 Google Inc<br>
+      &copy; 2021 Google Inc<br>
       Licensed under the Apache License 2.0.
       Licensed under the Apache License 2.0.
     HTML
     HTML