leaflet: add versions 1.4 and 1.5

This commit is contained in:
Simon Legner 2019-08-07 14:15:34 +02:00
parent eada92ec98
commit 89171745a5
2 changed files with 12 additions and 2 deletions

View file

@ -398,7 +398,7 @@ credits = [
'https://raw.githubusercontent.com/laravel/framework/master/LICENSE.txt'
], [
'Leaflet',
'2010-2018 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'2010-2019 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'BSD',
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
], [

View file

@ -14,11 +14,21 @@ module Docs
options[:skip_links] = true
options[:attribution] = <<-HTML
&copy; 2010&ndash;2018 Vladimir Agafonkin<br>
&copy; 2010&ndash;2019 Vladimir Agafonkin<br>
&copy; 2010&ndash;2011, CloudMade<br>
Maps &copy; OpenStreetMap contributors.
HTML
version '1.5' do
self.release = '1.5.0'
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.4' do
self.release = '1.4.0'
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.3' do
self.release = '1.3.4'
self.base_url = "https://leafletjs.com/reference-#{release}.html"