Automate major version change on home page
On https://sunpy.org/, the "What's new in x.y?" text doesn't automatically update, like the latest stable release. It would be good to automatically update this so I don't have to do it in a PR every major release.
I didn't understand, from where can we get the latest edition number to automate it ?
From pypi.
I think it'd make more sense to simply grab the title of the whatsnew page that is linked. That way it'll always match the page that is linked, even if PyPI is different for some reason.
(And if we change the title format for the whatsnew page, our homepage will automatically match.)
I think the original goal is to change the text to be whats new in
Right now we have to update that manually.
Ah, okay, the issue referred only to updating the text, not the URL as well.