Repository navigation
Version the docs site and add a version picker - #115
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The docs site is now versioned with mike, like pymobiledevice3's:
X.Yseries and moves thelatestalias, which is the default, to it. A push tomainpublishesmain.latestshows a banner linking to the latest release..github/docs_root_redirects.pywrites root redirects to the same page of the default version, keeping the#anchor, plus a 404 fallback and root copies ofllms.txt/llms-full.txt.main, so a release run pushes togh-pagesand then starts the workflow onmain, which deploys.canonical_version(site_urlloses its trailing slash).Rehearsed locally, without pushing:
main, then a simulated3.8release, with the redirect script after each step;/installation/#xgoes to/main/before the first release and to/latest/installation/#xafter it;mainand3.8 latest, and the banner shows onmainonly.Until the next release only
mainexists, so the root points there.