Skip to content

Commit

Permalink
Make Sphinx extlinks declarations compatible w/ v6
Browse files Browse the repository at this point in the history
(cherry picked from commit 0cae27d)
  • Loading branch information
webknjaz committed Sep 20, 2022
1 parent 6575d29 commit 7cd8a60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@

# -- Options for extlinks extension ---------------------------------------
extlinks = {
"issue": (f"{github_repo_url}/issues/%s", "#"),
"pr": (f"{github_repo_url}/pull/%s", "PR #"),
"commit": (f"{github_repo_url}/commit/%s", ""),
"gh": (f"{github_url}/%s", "GitHub: "),
"user": (f"{github_sponsors_url}/%s", "@"),
"issue": (f"{github_repo_url}/issues/%s", "#%s"),
"pr": (f"{github_repo_url}/pull/%s", "PR #%s"),
"commit": (f"{github_repo_url}/commit/%s", "%s"),
"gh": (f"{github_url}/%s", "GitHub: %s"),
"user": (f"{github_sponsors_url}/%s", "@%s"),
}

# -- Options for HTML output ----------------------------------------------
Expand Down

0 comments on commit 7cd8a60

Please sign in to comment.