Unified · Split
| @@ -4,6 +4,7 @@ module Docs · 3 unmodified lines | |||
| 4 | class CleanHtmlFilter < Filter | 4 | class CleanHtmlFilter < Filter |
| 5 | 5 | ||
| 6 | def call | 6 | def call |
| 7 | @doc = at_css('#layout-content') | ||
| 7 | root_page? ? root : other | 8 | root_page? ? root : other |
| 8 | doc | 9 | doc |
| 9 | end | 10 | end |
| @@ -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.4' | 8 | self.release = '8.5' |
| 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–2024 The PHP Documentation Group<br> | 65 | © 1997–2025 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 | ||