|
|
@ -1,7 +1,7 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Git < UrlScraper
|
|
|
|
class Git < UrlScraper
|
|
|
|
self.type = 'git'
|
|
|
|
self.type = 'git'
|
|
|
|
self.release = '2.11.0'
|
|
|
|
self.release = '2.12.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
|
|
|
|
© 2005–2016 Linus Torvalds and others<br>
|
|
|
|
© 2005–2017 Linus Torvalds and others<br>
|
|
|
|
Licensed under the GNU General Public License version 2.
|
|
|
|
Licensed under the GNU General Public License version 2.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|
|
|
|