|
|
@ -1,7 +1,7 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Git < UrlScraper
|
|
|
|
class Git < UrlScraper
|
|
|
|
self.type = 'git'
|
|
|
|
self.type = 'git'
|
|
|
|
self.release = '2.30.0'
|
|
|
|
self.release = '2.31.0'
|
|
|
|
self.base_url = 'https://git-scm.com/docs'
|
|
|
|
self.base_url = 'https://git-scm.com/docs'
|
|
|
|
self.initial_paths = %w(/git.html)
|
|
|
|
self.initial_paths = %w(/git.html)
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
@ -16,7 +16,7 @@ module Docs
|
|
|
|
options[:skip] = %w(/howto-index.html)
|
|
|
|
options[:skip] = %w(/howto-index.html)
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2012–2018 Scott Chacon and others<br>
|
|
|
|
© 2012–2021 Scott Chacon and others<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|