Skip to content

Commit

Permalink
Merge pull request #130 from pganssle/fix_extlinks
Browse files Browse the repository at this point in the history
Add %s to extlinks
  • Loading branch information
pganssle committed Mar 8, 2023
2 parents de217b6 + 00467f5 commit 8aa8e6b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,12 @@ def get_version():
# See http://sphinx-doc.org/ext/extlinks.html
_repo = "https://github.com/pganssle/zoneinfo/"
extlinks = {
"gh": (_repo + "issues/%s", "GH-"),
"gh-pr": (_repo + "pull/%s", "GH-"),
"pypi": ("https://pypi.org/project/%s", ""),
"bpo": ("https://bugs.python.org/issue%s", "bpo-"),
"cpython-pr": ("https://github.com/python/cpython/pull/%s", "CPython PR #"),
"gh": (_repo + "issues/%s", "GH-%s"),
"gh-pr": (_repo + "pull/%s", "GH-%s"),
"pypi": ("https://pypi.org/project/%s", None),
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
"cpython-pr": (
"https://github.com/python/cpython/pull/%s",
"CPython PR #%s",
),
}

0 comments on commit 8aa8e6b

Please sign in to comment.