-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Docs for deleted branch still being around #8264
Comments
Hi, sorry about that, this is likely happened when we migrated from cloud providers. I have deleted the old docs from our storage, cache should be purged in 2 hours max. |
Thanks @stsewd for the quick fix! I'm hoping this will help to make those disappear from search results. I'm now trying to add a redirect for those: but e.g. https://docs.pytest.org/en/reorganize-docs/index.html doesn't redirect as expected. Is that due to something still being around, or am I doing something wrong there? |
@The-Compiler you need to use an exact redirect instead. https://docs.readthedocs.io/en/stable/user-defined-redirects.html#exact-redirects |
a prefix redirect is used when you have migrated your docs from another service. |
Ah, that makes sense! I should've guessed there's some great documentation about the admin interface somewhere, but it wasn't obvious to me that's in a totally separate place, and not linked from the explanations on the page. I opened a PR to fix that: #8308. Thanks for all the help! 👍 |
Details
A couple of years ago, we created a
reorganize-docs
branch, trying to restructure our documentation. Even after deleting the branch and removing it as version from RTD, the docs are still around at the build URL above:Even trying to add a redirect to the main docs doesn't seem to have any effect. As a result, people often accidentally refer to 6 year old docs, because those links seem to often show up in Google search results:
pytest-dev/pytest#4115 (comment)
pytest-dev/pytest#8094
pytest-dev/pytest#8665 (comment)
etc. etc.
We've agreed to delete that branch:
pytest-dev/pytest#4120
pytest-dev/pytest#8098
And from what I (and other admins) can see, it doesn't show up anywhere in the admin panel anymore.
Expected Result
The docs being gone, and/or us being able to delete them somewhere in the admin panel, and/or a redirect working.
Actual Result
Zombie docs 😱
The text was updated successfully, but these errors were encountered: