From 7cd8a605a794ac33432dd8aded5cdaac423de551 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 20 Sep 2022 14:48:58 +0200 Subject: [PATCH] Make Sphinx extlinks declarations compatible w/ v6 (cherry picked from commit 0cae27d592ed2a96fe3d957bb8d4239ecbde44e4) --- docs/conf.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 855975e1bab..f10012d0081 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 ----------------------------------------------