Set the default redirect to latest #69
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.
We've had internal requests to redirect to latest by default
Description
It makes more sense that the root page redirects to latest rather than 0.1.x so that when folks copy links, they're copying the latest docs.
People can always manually change to a specific version
Try it out at https://github.programdotrun.com/docs/
Type of Change
Motivation and Context
Folks mentioned that linking to the latest docs page is difficult because they need to manually edit the url - now by default they'll get the latest urls and can manually change to 0.1.x if they so wish
Areas Affected
The bare index url https://strandsagents.com/ would now redirect to https://strandsagents.com/latest/ instead of https://strandsagents.com/0.1.x/. All other URLs will continue working
Checklist
mkdocs serveBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.