浏览代码

Update git documentation (2.4.1)

Thibaut 10 年之前
父节点
当前提交
7115ddb5e4
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      lib/docs/scrapers/git.rb

+ 5 - 1
lib/docs/scrapers/git.rb

@@ -1,9 +1,13 @@
 module Docs
   class Git < UrlScraper
     self.type = 'git'
-    self.version = '2.3.1'
+    self.version = '2.4.1'
     self.base_url = 'http://git-scm.com/docs'
     self.initial_paths = %w(/git.html)
+    self.links = {
+      home: 'http://git-scm.com/',
+      code: 'https://github.com/git/git'
+    }
 
     html_filters.push 'git/clean_html', 'git/entries'