History

Update PHP documentation (8.1)

Simon Legner committed 4 years ago

Commit 57865a61 parent 489975d3 files · +5 −5Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. docs/file-scrapers.md +2 −2
  3. lib/docs/scrapers/php.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -643,7 +643,7 @@ credits = [ · 642 unmodified lines
643643 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
644644 ], [
645645 'PHP',
646− '1997-2018 The PHP Documentation Group',
646+ '1997-2021 The PHP Documentation Group',
647647 'CC BY',
648648 'https://secure.php.net/manual/en/copyright.php'
649649 ], [
docs/file-scrapers.md+2−2
@@ -173,13 +173,13 @@ bsdtar xf pandas.zip · 172 unmodified lines
173173 ```
174174
175175 ## PHP
176−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/`.
176+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/`.
177177
178178 Or run the following commands in your terminal:
179179
180180 ```sh
181181 curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \
182−tar -xf php.tar; mv php-chunked-xhtml/ path/to/devdocs/docs/php/
182+tar -xf php.tar; mv php-chunked-xhtml/ docs/php/
183183 ```
184184 ## Python 3.6+
185185
lib/docs/scrapers/php.rb+2−2
@@ -5,7 +5,7 @@ module Docs · 4 unmodified lines
55
66 self.name = 'PHP'
77 self.type = 'php'
8− self.release = '8.0'
8+ self.release = '8.1'
99 self.base_url = 'https://www.php.net/manual/en/'
1010 self.root_path = 'index.html'
1111 self.initial_paths = %w(
@@ -62,7 +62,7 @@ module Docs · 50 unmodified lines
6262 options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
6363
6464 options[:attribution] = <<-HTML
65− &copy; 1997&ndash;2020 The PHP Documentation Group<br>
65+ &copy; 1997&ndash;2021 The PHP Documentation Group<br>
6666 Licensed under the Creative Commons Attribution License v3.0 or later.
6767 HTML
6868

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t