CI: Automatically upload docs on release by datapythonista · Pull Request #48211 · pandas-dev/pandas (original) (raw)

This should make the publishing of the docs automatic one creating and pushing a new tag. My understanding is that versioneer should take care of showing the version correctly in the docs.

I'd merge this before the 1.5 release in few hours, and if there is any problem, we do the publishing manually once more, and we fix the action for the next release. But I don't think it should fail.

The pdf is missing, but I think we're happy to remove it (I'll open a separate PR for it).

If I'm not wrong, for patch releases we upload the new docs, but delete the previous docs of that minor (so, for 1.4.4 we would delete 1.4.3 docs), and we create a symlink for the previous release. If that's the case, this would still be useful, but we should add in a follow up the deleting and the symlinks.

CC: @simonjayhawkins @mroeschke @lithomas1 @jorisvandenbossche