-
-
Notifications
You must be signed in to change notification settings - Fork 140
"Main" vs versioned links / main broken #385
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
Comments
This is correct. This change was intentional and not a mistake.
This is not correct: ReadTheDocs did build the AFAIK, TL;DR: |
Thanks for your response @sebastianbergmann. Understood. I ran into this for the README of PHPUnit Polyfills, which for the "current" release should generally always point to the latest version of the PHPUnit docs. Based on the above, this would mean the links in that README would need to be manually updated every couple of months, whenever there is a new PHPUnit minor (which is kind of a pain in the neck 😔). Do you know if ReadTheDocs offers a feature to always link to the "latest" version of the docs ? |
It does, but I have it disabled by choice:
|
@sebastianbergmann Guess I will just have to deal in that case. 🤷 |
Previously, the PHPUnit documentation would have a "main" branch/version, which contained the latest docs. This branch has been removed, which means all the links to the PHPUnit docs in the README are now broken. This commit fixes this up to point to the `11.5` branch, which is the latest PHPUnit minor. Note: it will be a pain in the neck to have to continuously update these links whenever a new PHPUnit minor is released, but so be it. 🤷 Ref: sebastianbergmann/phpunit-documentation-english#385
Previously, the PHPUnit documentation would have a "main" branch/version, which contained the latest docs. This branch has been removed, which means all the links to the PHPUnit docs in the README are now broken. This commit fixes this up to point to the `11.5` branch, which is the latest PHPUnit minor. Note: it will be a pain in the neck to have to continuously update these links whenever a new PHPUnit minor is released, so it would be nice to be able to automate this at some point. Ref: sebastianbergmann/phpunit-documentation-english#385
It appears the
main
branch of this repo has been removed.This was the branch ReadTheDocs would previously default to and which would always point to the documentation of the latest release.
As a consequence of this, a lot of links to the PHPUnit documentation are in the form of
https://docs.phpunit.de/en/main/[page].html
and, as there doesn't appear to be any redirection in place, these links are now all broken and result in 404 pages.Would it be an idea to either bring back the
main
branch ? Or to put rolling redirection in place forhttps://docs.phpunit.de/en/main/[page].html
links tohttps://docs.phpunit.de/en/[#.#]/[page].html
, where#.#
would be updated whenever a new minor of PHPUnit is released ?The text was updated successfully, but these errors were encountered: