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
643 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'643 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
644 ], [644 ], [
645 'PHP',645 'PHP',
646 '1997-2018 The PHP Documentation Group',646 '1997-2021 The PHP Documentation Group',
647 'CC BY',647 'CC BY',
648 'https://secure.php.net/manual/en/copyright.php'648 'https://secure.php.net/manual/en/copyright.php'
649 ], [649 ], [
docs/file-scrapers.md+2−2
@@ -173,13 +173,13 @@ bsdtar xf pandas.zip · 172 unmodified lines
173```173```
174 174
175## PHP175## PHP
176Click 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/`.176Click 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/`.
177 177
178Or run the following commands in your terminal:178Or run the following commands in your terminal:
179 179
180```sh180```sh
181curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \181curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \
182tar -xf php.tar; mv php-chunked-xhtml/ path/to/devdocs/docs/php/182tar -xf php.tar; mv php-chunked-xhtml/ docs/php/
183```183```
184## Python 3.6+184## Python 3.6+
185 185
lib/docs/scrapers/php.rb+2−2
@@ -5,7 +5,7 @@ module Docs · 4 unmodified lines
5 5
6 self.name = 'PHP'6 self.name = 'PHP'
7 self.type = 'php'7 self.type = 'php'
8 self.release = '8.0'8 self.release = '8.1'
9 self.base_url = 'https://www.php.net/manual/en/'9 self.base_url = 'https://www.php.net/manual/en/'
10 self.root_path = 'index.html'10 self.root_path = 'index.html'
11 self.initial_paths = %w(11 self.initial_paths = %w(
@@ -62,7 +62,7 @@ module Docs · 50 unmodified lines
62 options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]62 options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
63 63
64 options[:attribution] = <<-HTML64 options[:attribution] = <<-HTML
65 &copy; 1997&ndash;2020 The PHP Documentation Group<br>65 &copy; 1997&ndash;2021 The PHP Documentation Group<br>
66 Licensed under the Creative Commons Attribution License v3.0 or later.66 Licensed under the Creative Commons Attribution License v3.0 or later.
67 HTML67 HTML
68 68

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