mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
leaflet: add versions 1.4 and 1.5
This commit is contained in:
parent
eada92ec98
commit
89171745a5
2 changed files with 12 additions and 2 deletions
|
@ -398,7 +398,7 @@ credits = [
|
|||
'https://raw.githubusercontent.com/laravel/framework/master/LICENSE.txt'
|
||||
], [
|
||||
'Leaflet',
|
||||
'2010-2018 Vladimir Agafonkin<br>© 2010-2011, CloudMade<br>Maps © OpenStreetMap contributors.',
|
||||
'2010-2019 Vladimir Agafonkin<br>© 2010-2011, CloudMade<br>Maps © OpenStreetMap contributors.',
|
||||
'BSD',
|
||||
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
|
||||
], [
|
||||
|
|
|
@ -14,11 +14,21 @@ module Docs
|
|||
options[:skip_links] = true
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2010–2018 Vladimir Agafonkin<br>
|
||||
© 2010–2019 Vladimir Agafonkin<br>
|
||||
© 2010–2011, CloudMade<br>
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue