diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index aa51f5d1..7acef192 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -398,7 +398,7 @@ credits = [ 'https://raw.githubusercontent.com/laravel/framework/master/LICENSE.txt' ], [ 'Leaflet', - '2010-2018 Vladimir Agafonkin
© 2010-2011, CloudMade
Maps © OpenStreetMap contributors.', + '2010-2019 Vladimir Agafonkin
© 2010-2011, CloudMade
Maps © OpenStreetMap contributors.', 'BSD', 'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/leaflet.rb b/lib/docs/scrapers/leaflet.rb index 38e497e7..1de33186 100644 --- a/lib/docs/scrapers/leaflet.rb +++ b/lib/docs/scrapers/leaflet.rb @@ -14,11 +14,21 @@ module Docs options[:skip_links] = true options[:attribution] = <<-HTML - © 2010–2018 Vladimir Agafonkin
+ © 2010–2019 Vladimir Agafonkin
© 2010–2011, CloudMade
Maps © 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"