diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 9829fb8a..70c63c31 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -381,7 +381,7 @@ credits = [ 'https://raw.githubusercontent.com/Automattic/socket.io/master/LICENSE' ], [ 'Symfony', - '2004-2015 Fabien Potencier', + '2004-2016 Fabien Potencier', 'MIT', 'http://symfony.com/doc/current/contributing/code/license.html' ], [ diff --git a/lib/docs/scrapers/symfony.rb b/lib/docs/scrapers/symfony.rb index 19685b33..d77246f8 100644 --- a/lib/docs/scrapers/symfony.rb +++ b/lib/docs/scrapers/symfony.rb @@ -3,8 +3,6 @@ module Docs self.name = 'Symfony' self.slug = 'symfony' self.type = 'laravel' - self.release = '2.7' - self.base_url = "http://api.symfony.com/#{release}/" self.root_path = 'namespaces.html' self.initial_paths = %w(classes.html) self.links = { @@ -24,8 +22,23 @@ module Docs Symfony.html) options[:attribution] = <<-HTML - © 2004–2015 Fabien Potencier
+ © 2004–2016 Fabien Potencier
Licensed under the MIT License. HTML + + version '3.0' do + self.release = '3.0.1' + self.base_url = "http://api.symfony.com/#{version}/" + end + + version '2.8' do + self.release = '2.8.2' + self.base_url = "http://api.symfony.com/#{version}/" + end + + version '2.7' do + self.release = '2.7.9' + self.base_url = "http://api.symfony.com/#{version}/" + end end end