Skip to content

Commit

Permalink
Add %s to extlinks for Sphinx v6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 1, 2022
1 parent 3f8af76 commit a42383b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Expand Up @@ -134,11 +134,11 @@
# -- Options for extlinks extension ------------------------------------------

extlinks = {
'issue': (f'{github_repo_url}/issues/%s', '#'), # noqa: WPS323
'pr': (f'{github_repo_url}/pull/%s', 'PR #'), # noqa: WPS323
'commit': (f'{github_repo_url}/commit/%s', ''), # noqa: WPS323
'gh': (f'{github_url}/%s', 'GitHub: '), # noqa: WPS323
'user': (f'{github_sponsors_url}/%s', '@'), # noqa: WPS323
'issue': (f'{github_repo_url}/issues/%s', '#%s'), # noqa: WPS323
'pr': (f'{github_repo_url}/pull/%s', 'PR #%s'), # noqa: WPS323
'commit': (f'{github_repo_url}/commit/%s', '%s'), # noqa: WPS323
'gh': (f'{github_url}/%s', 'GitHub: %s'), # noqa: WPS323
'user': (f'{github_sponsors_url}/%s', '@%s'), # noqa: WPS323
}

# -- Options for linkcheck builder -------------------------------------------
Expand Down

0 comments on commit a42383b

Please sign in to comment.