Unified · Split
| @@ -1,10 +1,14 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Twig < UrlScraper | 2 | class Twig < UrlScraper |
| 3 | self.type = 'sphinx' | 3 | self.type = 'sphinx' |
| 4 | self.release = '1.24' | 4 | self.release = '1.29' |
| 5 | self.base_url = 'http://twig.sensiolabs.org/doc/' | 5 | self.base_url = 'http://twig.sensiolabs.org/doc/' |
| 6 | self.root_path = 'index.html' | 6 | self.root_path = 'index.html' |
| 7 | self.initial_paths = %w(extensions/index.html) | 7 | self.initial_paths = %w(extensions/index.html) |
| 8 | self.links = { | ||
| 9 | home: 'http://twig.sensiolabs.org/', | ||
| 10 | code: 'https://github.com/twigphp/Twig' | ||
| 11 | } | ||
| 8 | 12 | ||
| 9 | options[:attribution] = <<-HTML | 13 | options[:attribution] = <<-HTML |
| 10 | © 2009–2016 by the Twig Team<br> | 14 | © 2009–2016 by the Twig Team<br> |