Skip to content
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

Let readthedocs.org decide to which version the user will be pointed. #30

Merged
merged 1 commit into from
Apr 6, 2018
Merged

Let readthedocs.org decide to which version the user will be pointed. #30

merged 1 commit into from
Apr 6, 2018

Conversation

sebastianheuer
Copy link
Contributor

Instead of pointing to /en/latest/ (which does not exist anymore), let readthedocs.org decide which version is the current default version.

Currently, requesting https://phpunit.readthedocs.io/ will redirect the client to https://phpunit.readthedocs.io/en/7.1/, because english is the main language and 7.1 is marked as the default version (as configured at https://readthedocs.org/dashboard/phpunit/versions/)

As soon as the translation projects have the same version schema, their links can be updated as well.

Instead of pointing to /en/latest/ (which does not exist anymore),
let readthedocs.org decide which version is the current default
version. Currently, requesting https://phpunit.readthedocs.io/
will redirect the client to https://phpunit.readthedocs.io/en/7.1/,
because english is the main language and 7.1 is marked as the
default version (as configured at https://readthedocs.org/dashboard/phpunit/versions/)
@sebastianbergmann sebastianbergmann merged commit 13e03ef into sebastianbergmann:master Apr 6, 2018
@sebastianheuer sebastianheuer deleted the use-rtd-default-version branch April 6, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants