Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 574 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 574 Bytes

MkDocs Material with versioning

This is MkDocs Material with versioning using mike.

How to use versioning

To publish a new version:

  1. Run this command to delete all previous versions of documentation:

    mike delete --all
  2. In the project folder, run this command:

    mike deploy --push --update-aliases 0.1 latest

    Use your version instead of 0.1.

  3. Run this command:

    mike set-default --push latest
  4. When published, clear the cache in your browser to see the new version in the dropdown.