jimporter / mike

Manage multiple versions of your MkDocs-powered documentation via Git
BSD 3-Clause "New" or "Revised" License
528 stars 47 forks source link

Sort order of versions #123

Closed jgebal closed 1 year ago

jgebal commented 1 year ago

Hi @jimporter First of all, thanks a million for great utility. IT is really doing it's job and it is doing it great.

I'd like to ask if there is a way to custom-sort the versions or perhaps force a version that is built to be placed on top/bottom of the list.

Or maybe even to have the latest built element on the top of the list.

What I currently have is a list of versions like below:

v3.1.12
v.3.1.11
v.3.1.10
...
v3.0.0
develop

What I would always to have is a list like this:

develop
v3.1.12
v.3.1.11
v.3.1.10
...
v3.0.0

develop represents my current work-in-progress version and is built each time I push to develop branch. From the develop version, new release is born at some point.

jgebal commented 1 year ago

To add more details, here are the commands I use to build new versions:

jimporter commented 1 year ago

This is #82, I think. It's fixed and will be released in v2.0. That probably won't be for a while though, since I don't have much free time to finish off the remaining 2.0 blockers, but you can use the latest Git revision in the meantime if you prefer.