This is MkDocs Material with versioning using mike.
To publish a new version:
-
Run this command to delete all previous versions of documentation:
mike delete --all
-
In the project folder, run this command:
mike deploy --push --update-aliases 0.1 latest
Use your version instead of
0.1
. -
Run this command:
mike set-default --push latest
-
When published, clear the cache in your browser to see the new version in the dropdown.