|
|
@ -1,7 +1,7 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Git < UrlScraper
|
|
|
|
class Git < UrlScraper
|
|
|
|
self.type = 'git'
|
|
|
|
self.type = 'git'
|
|
|
|
self.version = '1.8.5'
|
|
|
|
self.version = '1.9.0'
|
|
|
|
self.base_url = 'http://git-scm.com/docs'
|
|
|
|
self.base_url = 'http://git-scm.com/docs'
|
|
|
|
self.initial_paths = %w(/git.html)
|
|
|
|
self.initial_paths = %w(/git.html)
|
|
|
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ module Docs
|
|
|
|
options[:only_patterns] = [/\A\/git\-/]
|
|
|
|
options[:only_patterns] = [/\A\/git\-/]
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2005–2013 Linus Torvalds and others<br>
|
|
|
|
© 2005–2014 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
|
|
|
|