[devdocsgjs/main: 31/239] Update PHP documentation (8.1)




commit 57865a64adca9cd434a94f6efd99f0781b0c0342
Author: Simon Legner <Simon Legner gmail com>
Date:   Mon Nov 29 18:41:10 2021 +0100

    Update PHP documentation (8.1)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 docs/file-scrapers.md                                | 4 ++--
 lib/docs/scrapers/php.rb                             | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 14083f41..6146bdbc 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -643,7 +643,7 @@ credits = [
     'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
   ], [
     'PHP',
-    '1997-2018 The PHP Documentation Group',
+    '1997-2021 The PHP Documentation Group',
     'CC BY',
     'https://secure.php.net/manual/en/copyright.php'
   ], [
diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index ae1f3f8c..4ea46188 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -173,13 +173,13 @@ bsdtar xf pandas.zip
 ```
 
 ## PHP
-Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the 
tarball, change its name to `php` and put it in `/path/to/devdocs/docs/`.
+Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the 
tarball, change its name to `php` and put it in `docs/`.
 
 Or run the following commands in your terminal:
 
 ```sh
 curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \
-tar -xf php.tar; mv php-chunked-xhtml/ path/to/devdocs/docs/php/
+tar -xf php.tar; mv php-chunked-xhtml/ docs/php/
 ```
 ## Python 3.6+
 
diff --git a/lib/docs/scrapers/php.rb b/lib/docs/scrapers/php.rb
index 2db16d87..e07b1e44 100644
--- a/lib/docs/scrapers/php.rb
+++ b/lib/docs/scrapers/php.rb
@@ -5,7 +5,7 @@ module Docs
 
     self.name = 'PHP'
     self.type = 'php'
-    self.release = '8.0'
+    self.release = '8.1'
     self.base_url = 'https://www.php.net/manual/en/'
     self.root_path = 'index.html'
     self.initial_paths = %w(
@@ -62,7 +62,7 @@ module Docs
     options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
 
     options[:attribution] = <<-HTML
-      &copy; 1997&ndash;2020 The PHP Documentation Group<br>
+      &copy; 1997&ndash;2021 The PHP Documentation Group<br>
       Licensed under the Creative Commons Attribution License v3.0 or later.
     HTML
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]