-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
RFC links are broken #95789
Comments
The RFC links are built using the Sphinx RFC role, like Sphinx itself expands these out to the full links. I see Sphinx updated the RFC base URL in sphinx-doc/sphinx#9858: - 'rfc_base_url': 'https://tools.ietf.org/html/',`
+ 'rfc_base_url': 'https://datatracker.ietf.org/doc/html/', As mentioned in that PR:
That change was released in Sphinx 4.4.0 (released Jan 2022). main/3.12 and 3.11 are already on sphinx==4.5.0:
But 3.10 is on sphinx==3.4.3: And 3.9 and 3.8 are on sphinx==2.4.4:
And 3.7 is on Sphinx==2.3.1: |
Welcoming pull requests that add the RFC base URL setting to our sphinx config! |
One my way 🚀 |
Ping also @rjsparks (author of the above-mentioned https://mailarchive.ietf.org/arch/msg/ietf/0n-6EXEmkTp3Uv_vj-5Vnm3o0bo/): It looks like there's a problem with the RFC redirects. For example:
redirects to
Note the double If I remove a surplus
@rjsparks - please could you check the redirects? Thank you! |
It seems that the problem has already been solved. I assume that something has been done about the redirection? |
The redirect rule needed tuning. |
Thanks for fixing it and letting us know! Keeping this ticket open for PRs, we might as well generate canonical links and avoid redirections. |
I don't think this should be addressed in security fixes-only branches as they don't include regular documentation updates. As such, I think this is fixed. Thanks, all! ✨ 🍰 ✨ |
Documentation
Hello 👋
RFC hyperlinks present on https://docs.python.org are broken.
It's impacting the documentation version from
3.5.X
to3.10.X
and any link to RFC.Example:
Links are targeting
https://tools.ietf.org/html/rfcXXXX.html
(redirecting tohttps://www.rfc-editor.org/rfc/rfcXXXX.html.html
).The correct address seems to be
https://www.rfc-editor.org/rfc/rfcXXXX.html
but I notice the usage ofhttps://datatracker.ietf.org/doc/html/rfcXXXX.html
on the python3.12.X
documentation.Not sure there is not already something about this issue, if it's the case sorry but I was not able to find it.
The text was updated successfully, but these errors were encountered: