-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement redirects from old docs pages #13
Comments
What I have learned about RTD redirects that is not on https://docs.readthedocs.io/en/stable/user-defined-redirects.html (this document left me not totally clear on a lot of things about the different kinds of redirects possible with RTD):
It should not include a version or language in the from url. The to url here is another domain, which works as it says in the rtd docs. I haven't tested "internal" redirects as much, i.e. redirecting to a path within the domain like
But I imagine it would apply across versions in a similar way and maintain whichever language and version you were redirected from, although it's possible it just sends you to the default version like /en/latest.
The notable differences from the above page redirect example are:
|
Redirects for these projects' ^ pages are in place.
https://nextstrain.github.io/ncov/ is still up, I believe we decided not to redirect that to https://docs.nextstrain.org/en/latest/tutorials/SARS-CoV-2/steps/index.html since they are sourced from the same files and so won't get out of sync, but this is still possible if we would like to just have this tutorial show up in one place.
Only one redirect is necessary for this project's docs, and it has been configured and tested in anticipation of merging nextstrain/cli#102. Please re-open this (or a more specific issue) if any issues arise with any of the redirects. |
Once docs.nextstrain.org is "live" -- as in, all the documentation from augur, auspice, nextstrain.org is being rendered via docs.nextstrain.org (including sub-projects) we need to implement redidirects from the previous location of the documentation
This implementation isn't part of this repo, but this issue is created here as a reminder for us
The text was updated successfully, but these errors were encountered: