Version Symfony documentation (2.7, 2.8 and 3.0)

Ref #25.
pull/308/merge
Thibaut Courouble 9 years ago
parent e0b5cfbaa5
commit 71431967aa

@ -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'
], [

@ -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
&copy; 2004&ndash;2015 Fabien Potencier<br>
&copy; 2004&ndash;2016 Fabien Potencier<br>
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

Loading…
Cancel
Save