-
Notifications
You must be signed in to change notification settings - Fork 6
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
Post: redirecting /
to README.html
deprecation
#287
Conversation
image: /images/readme-html-deprecated.jpg | ||
image_credit: Photo by <a href="https://unsplash.com/@introspectivedsgn?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Erik Mclean</a> on <a href="https://unsplash.com/photos/black-asus-laptop-computer-showing-3-00-sxiSod0tyYQ?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a> | ||
|
||
We are announcing the **deprecation of redirecting root URLs (`/`) to `/README.html`** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this what we're doing? I thought we were serving README.html
as the index at /
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the same, and I found I was wrong while writing the blog post:
▶ curl -I https://pytest-bootstrap.readthedocs.io/en/latest/
HTTP/2 302
date: Fri, 24 May 2024 15:27:52 GMT
...
location: /en/latest/README.html
Maybe we change this over the years?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it seems that it redirects all the index URLs (?), not just root. See santos' comment in readthedocs/readthedocs.org#11348 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, this applies to all index pages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a suggestion for a better wording here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just use index
instead of root
🤔
Co-authored-by: Eric Holscher <[email protected]>
Related readthedocs/readthedocs.org#9993
📚 Documentation preview 📚: https://readthedocs-about--287.org.readthedocs.build/blog/2024/05/readme-html-deprecated/