use intersphinx crossrefs to stdlib docs where possible instead of hardcoded URLs#9041
Conversation
…rdcoded URLs Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
|
Thanks for catching this! Should we consider adding a CI check ( We might also consider using |
Good idea! I'm using an extra sphinx builder (similar to
Yep, totally 👍 |
|
lovely ideas, they will make fine follow-ups |
|
Issue opened! I particularly want to hear more about the builder; that sounds like a trick I'll want to copy for Hypothesis. |
This PR replaces hardcoded links to docs.python.org by intersphinx crossrefs where possible. The only URL that was left hardcoded is in
how-to/unittest.rst, since the referenced section in stdlib docs (link) doesn't have any label.