File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8383# This config is a dictionary of external sites,
8484# mapping unique short aliases to a base URL and a prefix.
8585# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
86+ _repo = "python/cpython"
8687extlinks = {
88+ "cpython-issue" : (f"https://github.com/{ _repo } /issues/%s" , f"{ _repo } #%s" ),
89+ "cpython-pr" : (f"https://github.com/{ _repo } /pull/%s" , f"{ _repo } #%s" ),
8790 "pypi" : ("https://pypi.org/project/%s/" , "%s" ),
8891}
8992
Original file line number Diff line number Diff line change @@ -825,8 +825,7 @@ This allows the following implementation strategy:
825825* The generated ``__annotate__ `` function uses the set to determine
826826 which annotations were defined in the class or module body, and return only those.
827827
828- This was implemented in `python/cpython#130935
829- <https://github.com/python/cpython/pull/130935> `__.
828+ This was implemented in :cpython-pr: `130935 `.
830829
831830Specification
832831-------------
You can’t perform that action at this time.
0 commit comments