Skip to content

Commit e2f88da

Browse files
hoeflingauvipy
authored andcommitted
add placeholder to each extlinks caption
Signed-off-by: Oleg Hoefling <[email protected]>
1 parent 65642a2 commit e2f88da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sphinx_celery/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,20 +154,20 @@ def build_config(
154154

155155
extlinks.setdefault('sha', (
156156
f'https://github.com/{github_project}/commit/%s',
157-
'GitHub SHA@',
157+
'GitHub SHA@%s',
158158
))
159159
extlinks.setdefault('github_branch', (
160160
f'https://github.com/{github_project}/tree/%s',
161-
'GitHub branch',
161+
'GitHub branch %s',
162162
))
163163
extlinks.setdefault('github_user', (
164-
'https://github.com/%s/', '@',
164+
'https://github.com/%s/', '@%s',
165165
))
166166
extlinks.setdefault('pypi', (
167-
'https://pypi.org/project/%s/', '',
167+
'https://pypi.org/project/%s/', None,
168168
))
169169
extlinks.setdefault('wikipedia', (
170-
'https://en.wikipedia.org/wiki/%s', '',
170+
'https://en.wikipedia.org/wiki/%s', None,
171171
))
172172

173173
if not canonical_dev_url:

0 commit comments

Comments
 (0)