Browse Source

Update Twig documentation (1.29)

Thibaut Courouble 9 years ago
parent
commit
6bb2a6ecb8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lib/docs/scrapers/twig.rb

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

@@ -1,10 +1,14 @@
 module Docs
   class Twig < UrlScraper
     self.type = 'sphinx'
-    self.release = '1.24'
+    self.release = '1.29'
     self.base_url = 'http://twig.sensiolabs.org/doc/'
     self.root_path = 'index.html'
     self.initial_paths = %w(extensions/index.html)
+    self.links = {
+      home: 'http://twig.sensiolabs.org/',
+      code: 'https://github.com/twigphp/Twig'
+    }
 
     options[:attribution] = <<-HTML
       &copy; 2009&ndash;2016 by the Twig Team<br>