Readthedocs: Add version switch and update URL#2324
Conversation
Moving towards the shorter mesa.readthedocs.io/stable/ (instead of mesa.readthedocs.io/en/stable/)
Allows easy switching between stable and latest
902605b to
9d16366
Compare
|
Performance benchmarks:
|
|
Only way to test this is to merge and deploy on the main branch, since the switch URL points to that. Let's go! |
|
Wait, did you just nuke all existing links out there? 😅 If you want to do that they must at least redirect. If that's not possible please revert this :) |
|
No, I would never do that! I think I figured it out, can you check if it works on your side? https://mesa.readthedocs.io/en/latest/tutorials/visualization_tutorial.html |
|
Haha, good one, I fell for that... You just got me worried because I only tested https://mesa.readthedocs.io/en/stable and that gives a 404. But the other links seem to redirect correctly. |
|
Couldn't not do it ;) That one now also works, I was redirecting |
This does two things:
mesa.readthedocs.io/stable(instead ofmesa.readthedocs.io/en/stable)