|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
module Docs
|
|
|
|
|
class Git < UrlScraper
|
|
|
|
|
self.type = 'git'
|
|
|
|
|
self.release = '2.43.1'
|
|
|
|
|
self.release = '2.46.0'
|
|
|
|
|
self.base_url = 'https://git-scm.com/docs'
|
|
|
|
|
self.initial_paths = %w(/git.html)
|
|
|
|
|
self.links = {
|
|
|
|
@ -16,8 +16,8 @@ module Docs
|
|
|
|
|
options[:skip] = %w(/howto-index.html)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2012–2024 Scott Chacon and others<br>
|
|
|
|
|
Licensed under the MIT License.
|
|
|
|
|
© 2005–2024 Linus Torvalds and others<br>
|
|
|
|
|
Licensed under the GNU General Public License version 2.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
|