| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
|
Rather than putting this in a new Doc/docutils.conf file, can we put rfc_base_url = 'https://datatracker.ietf.org/doc/html/' in the existing conf.py?
As you noted at #95789 (comment), the redirects are fixed now on the IETF side, so it's less pressing to get this backported to the security-only branches. Let's ask 3.8/3.9 release manager @ambv. |
Sorry, something went wrong.
That was my first intention. But actually conf.py is the configuration of sphinx. I had a look at sphinx source code and the sphinx configuration is handled independently from the one of docutils. |
Sorry, something went wrong.
|
There's a rfc_base_url in both docutils and Sphinx. We're overriding this setting in Sphinx: 'rfc_base_url': 'https://datatracker.ietf.org/doc/html/',To test, I modified that line directly in Sphinx and rebuilt the docs, and it used that modified one. |
Sorry, something went wrong.
|
@hugovk , Yes, it's exactly the link I refer in my last message. (cf. https://www.sphinx-doc.org/en/master/usage/configuration.html) |
Sorry, something went wrong.
|
Ah yes, thanks! Please could you prefix the title of this PR with "[3.10] " and add a news entry? |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
/ pythongh-95800 Co-authored-by: Gregory P. Smith <gps@google.com>
| Back | FazBrowse Home | New Git URL |
I did not find any way to override docutils default settings through sphinx so I had to create this configuration file.
Tested locally ✔️
The issue is also impacting python 3.7, 3.8 and 3.9. So I guess I've to create the exact same PR targeting another branch, may you confirm, please?