Browse Source

Update Symfony documentation (2.7)

Thibaut 10 years ago
parent
commit
ffdeceb2c2
1 changed files with 6 additions and 2 deletions
  1. 6 2
      lib/docs/scrapers/symfony.rb

+ 6 - 2
lib/docs/scrapers/symfony.rb

@@ -3,10 +3,14 @@ module Docs
     self.name = 'Symfony'
     self.slug = 'symfony'
     self.type = 'laravel'
-    self.version = '2.6'
-    self.base_url = 'http://api.symfony.com/2.6/'
+    self.version = '2.7'
+    self.base_url = "http://api.symfony.com/#{version}/"
     self.root_path = 'namespaces.html'
     self.initial_paths = %w(classes.html)
+    self.links = {
+      home: 'http://symfony.com/',
+      code: 'https://github.com/symfony/symfony'
+    }
 
     html_filters.push 'symfony/entries', 'symfony/clean_html'