Unified · Split
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Git < UrlScraper | 2 | class Git < UrlScraper |
| 3 | self.type = 'git' | 3 | self.type = 'git' |
| 4 | self.release = '2.52.0' | 4 | self.release = '2.53.0' |
| 5 | self.base_url = 'https://git-scm.com/docs' | 5 | self.base_url = 'https://git-scm.com/docs' |
| 6 | self.initial_paths = %w( | 6 | self.initial_paths = %w( |
| 7 | /git.html | 7 | /git.html |
| @@ -41,12 +41,12 @@ module Docs · 33 unmodified lines | |||
| 41 | 41 | ||
| 42 | options[:container] = '#content' | 42 | options[:container] = '#content' |
| 43 | options[:only_patterns] = [/\A\/[^\/]+\z/] | 43 | options[:only_patterns] = [/\A\/[^\/]+\z/] |
| 44 | options[:skip] = %w(/howto-index.html) | 44 | options[:skip] = %w(/api-index /howto-index) |
| 45 | 45 | ||
| 46 | # https://github.com/git/git?tab=License-1-ov-file#readme | 46 | # https://github.com/git/git?tab=License-1-ov-file#readme |
| 47 | # NOT https://github.com/git/git-scm.com/blob/gh-pages/MIT-LICENSE.txt | 47 | # NOT https://github.com/git/git-scm.com/blob/gh-pages/MIT-LICENSE.txt |
| 48 | options[:attribution] = <<-HTML | 48 | options[:attribution] = <<-HTML |
| 49 | © 2005–2025 Linus Torvalds and others<br> | 49 | © 2005–2026 Linus Torvalds and others<br> |
| 50 | Licensed under the GNU General Public License version 2. | 50 | Licensed under the GNU General Public License version 2. |
| 51 | HTML | 51 | HTML |
| 52 | 52 | ||