Skip to content

Commit 9117c2d

Browse files
committed
Update Git documentation (2.50.0)
1 parent 63e0ed3 commit 9117c2d

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

lib/docs/scrapers/git.rb

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,37 @@
11
module Docs
22
class Git < UrlScraper
33
self.type = 'git'
4-
self.release = '2.48.1'
4+
self.release = '2.50.0'
55
self.base_url = 'https://git-scm.com/docs'
6-
self.initial_paths = %w(/git.html)
6+
self.initial_paths = %w(
7+
/git.html
8+
/git-archimport.html
9+
/git-cherry.html
10+
/git-citool.html
11+
/git-column.html
12+
/git-cvsexportcommit.html
13+
/git-for-each-repo.html
14+
/git-get-tar-commit-id.html
15+
/git-http-fetch.html
16+
/git-http-push.html
17+
/git-merge-file.html
18+
/git-merge-index.html
19+
/git-merge-one-file.html
20+
/git-merge-tree.html
21+
/git-mktree.html
22+
/git-p4.html
23+
/git-pack-redundant.html
24+
/git-quiltimport.html
25+
/git-replay.html
26+
/git-sh-i18n.html
27+
/git-sh-i18n--envsubst.html
28+
/git-sh-setup.html
29+
/git-show-index.html
30+
/git-unpack-file.html
31+
/git-verify-commit.html
32+
/gitformat-index.html
33+
/scalar.html
34+
)
735
self.links = {
836
home: 'https://git-scm.com/',
937
code: 'https://github.com/git/git'
@@ -16,9 +44,9 @@ class Git < UrlScraper
1644
options[:skip] = %w(/howto-index.html)
1745

1846
# https://github.com/git/git?tab=License-1-ov-file#readme
19-
# NOT https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt
47+
# NOT https://github.com/git/git-scm.com/blob/gh-pages/MIT-LICENSE.txt
2048
options[:attribution] = <<-HTML
21-
&copy; 2005&ndash;2024 Linus Torvalds and others<br>
49+
&copy; 2005&ndash;2025 Linus Torvalds and others<br>
2250
Licensed under the GNU General Public License version 2.
2351
HTML
2452

0 commit comments

Comments
 (0)