Unified · Split
| @@ -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 | ], [ |
| @@ -173,13 +173,13 @@ bsdtar xf pandas.zip · 172 unmodified lines | |||
| 173 | ``` | 173 | ``` |
| 174 | 174 | ||
| 175 | ## PHP | 175 | ## 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/`. |
| 177 | 177 | ||
| 178 | Or run the following commands in your terminal: | 178 | Or run the following commands in your terminal: |
| 179 | 179 | ||
| 180 | ```sh | 180 | ```sh |
| 181 | curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \ | 181 | 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/ |
| 183 | ``` | 183 | ``` |
| 184 | ## Python 3.6+ | 184 | ## Python 3.6+ |
| 185 | 185 | ||
| @@ -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] = <<-HTML | 64 | options[:attribution] = <<-HTML |
| 65 | © 1997–2020 The PHP Documentation Group<br> | 65 | © 1997–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 | HTML | 67 | HTML |
| 68 | 68 | ||