Update Leaflet documentation (1.8.0)

pull/1736/head
Simon Legner 3 years ago
parent b3e5849297
commit ef49eea935

@ -494,7 +494,7 @@ credits = [
'https://ctan.org/pkg/latex2e-help-texinfo/'
], [
'Leaflet',
'2010-2021 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'2010-2022 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'BSD',
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
], [

@ -14,14 +14,19 @@ module Docs
options[:skip_links] = true
options[:attribution] = <<-HTML
&copy; 2010&ndash;2021 Vladimir Agafonkin<br>
&copy; 2010&ndash;2022 Vladimir Agafonkin<br>
&copy; 2010&ndash;2011, CloudMade<br>
Maps &copy; OpenStreetMap contributors.
HTML
version '1.8' do
self.release = '1.8.0'
self.base_url = "https://leafletjs.com/SlavaUkraini/reference.html"
end
version '1.7' do
self.release = '1.7.1'
self.base_url = "https://leafletjs.com/reference.html"
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.6' do
@ -31,7 +36,7 @@ module Docs
version '1.5' do
self.release = '1.5.1'
self.base_url = "https://leafletjs.com/reference-1.5.0.html"
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.4' do

Loading…
Cancel
Save