website: upgrade mike
to version 2.0
#2523
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/jimporter/mike/releases/tag/v2.0.0
The main immediate advantage of this is that
mike
will stop pushing empty commits.Also, we can consider switching to using symlinks instead of redirects for mapping the "latest" version to "v0.11.0". This would make
https://martinvonz.github.io/jj/latest/
have the same content ashttps://martinvonz.github.io/jj/v0.11.0/
(until the next version is out), but the user would seelatest
in the URL.For now, I set an option to keep using redirects.
I did a bit of non-exhaustive testing; it seems to work.
Checklist
If applicable:
CHANGELOG.md