Closed yalinli2 closed 2 years ago
Thanks for looking into this. I tried this before and couldn't get it to work. I just tried it again and run into different issues, including:
But I got it to work with sphinx-reredirects (Hooray!). I'm pretty happy with that sphinx extension (https://documatt.gitlab.io/sphinx-reredirects/usage.html).
Thanks!
👍🎉
On Sun, Aug 21, 2022 at 11:34 AM Yoel @.***> wrote:
Thanks for looking into this. I tried this before and couldn't get it to work. I just tried it again and run into different issues, including:
- When redirecting to another readthedocs, an additional "en/latest" is tagged along (so thermosteam.readthedocs.io/ becomes https://biosteam.readthedocs.io/en/latest/en/latest").
- If I add a redirect in biosteam for https://biosteam.readthedocs.io/en/latest/en/latest to https://biosteam.readthedocs.io/en/latest/, then when redirecting from thermosteam we get https://biosteam.readthedocs.io/en/latest/$rest. But the redirect from biosteam works, which is quite odd :/
But I got it to work with sphinx-reredirects (Hooray!). I'm pretty happy with that sphinx extension ( https://documatt.gitlab.io/sphinx-reredirects/usage.html).
Thanks!
— Reply to this email directly, view it on GitHub https://github.com/BioSTEAMDevelopmentGroup/thermosteam/issues/75#issuecomment-1221579270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALV5VLKYJLX62KSX2XNFUIDV2JLBPANCNFSM57FCCI4A . You are receiving this because you authored the thread.Message ID: @.***>
Since thermosteam's docs is now migrated to biosteam, now going to the previous thermosteam docs domain will lead to the 404 error.
I'm wondering if we can redirect it to biosteam's docs using the redirect function (probably Exact Redirect) of readthedocs? Thanks!