diff options
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index 45089831f..da7df3811 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -158,7 +158,7 @@ def linkify_issues_in_changelog(app, docname, source): def linkify(match): url = 'https://github.com/sphinx-doc/sphinx/issues/' + match[1] - return '`{} <{}>`_'.format(match[0], url) + return f'`{match[0]} <{url}>`_' linkified_changelog = re.sub(r'(?:PR)?#([0-9]+)\b', linkify, changelog) |