History

Update Git documentation (2.53.0)

Simon Legner committed 8 months ago

Commit 6ebe4fd1 parent a83eb551 file · +3 −3Browse files

Unified · Split

lib/docs/scrapers/git.rb+3−3
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Git < UrlScraper2 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.html7 /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#readme46 # 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.txt47 # NOT https://github.com/git/git-scm.com/blob/gh-pages/MIT-LICENSE.txt
48 options[:attribution] = <<-HTML48 options[:attribution] = <<-HTML
49 &copy; 2005&ndash;2025 Linus Torvalds and others<br>49 &copy; 2005&ndash;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 HTML51 HTML
52 52