Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Update sphinx custom 404 page to handle redirect of vX.Y URL wit…
…hout slash This commit adds a javascript redirect to handle the redirection of page like https://slicer.readthedocs.io/en/v5.0 to https://slicer.readthedocs.io/en/v5.0/ and workaround limitation documented in readthedocs/readthedocs.org#9507 Indeed, despite of adding the following "Exact Redirect" to the readthedocs configuration: ``` /en/v5.0 -> /en/5.0 /en/v5.0/$rest -> /en/5.0/ ``` , specifying https://slicer.readthedocs.io/en/v5.0 doesn't redirect to https://slicer.readthedocs.io/en/5.0
- Loading branch information