Skip to content

Commit 42c87bd

Browse files
committed
Update Leaflet documentation (2.0.0-alpha)
1 parent b6d31ab commit 42c87bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/docs/scrapers/leaflet.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ class Leaflet < UrlScraper
1414
options[:skip_links] = true
1515

1616
options[:attribution] = <<-HTML
17-
&copy; 2010&ndash;2022 Vladimir Agafonkin<br>
17+
&copy; 2010&ndash;2025 Vladimir Agafonkin<br>
1818
&copy; 2010&ndash;2011, CloudMade<br>
1919
Maps &copy; OpenStreetMap contributors.
2020
HTML
2121

22+
version '2.0' do
23+
self.release = '2.0.0-alpha'
24+
self.base_url = "https://leafletjs.com/reference-2.0.0.html"
25+
end
26+
2227
version '1.9' do
2328
self.release = '1.9.4'
2429
self.base_url = "https://leafletjs.com/reference.html"

0 commit comments

Comments
 (0)