python-visualization / folium

Python Data. Leaflet.js Maps.
https://python-visualization.github.io/folium/
MIT License
6.93k stars 2.23k forks source link

Fix docs versioning relating to "v" prefix #2018

Closed Conengmo closed 3 weeks ago

Conengmo commented 1 month ago

Some more tweaks to our docs versioning and the version switcher. Main issue is a mismatch in how the version is put into a string: whether a "v" prefix is included or not. In the git tag we include a "v" prefix, but in folium.__version__ we don't have that prefix.

In the new situation:

This change is already live on the gh-pages branch, including the manually created docs for v0.18.0.

Conengmo commented 3 weeks ago

Will self-merge this one since it's only about the documentation, and I tested this already.