jimporter / mike

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

Format version.json #94

Closed kenji-miyake closed 2 years ago

kenji-miyake commented 2 years ago

I think it would useful to format versions.json in order to make the diff clear.

Left: Before Right: After image

With this, we can easily find what has changed. For example, after mike deploy main latest:

image

kenji-miyake commented 2 years ago

@jimporter Hello, what do you think about this change?

jimporter commented 2 years ago

@kenji-miyake thanks for the patch! I think this makes sense, and it should make it easier to see what state changed in the (hopefully) rare case that's it's necessary.