Skip to content

Commit 3bbaa9d

Browse files
mayeuthrnciar
authored andcommitted
Update extlinks strings to use a format string (pypa#555)
This addresses a warning in Sphinx 5, regarding the missing` %s` in these strings. ``` extlinks: Sphinx-6.0 will require a caption string to contain exactly one '%s' and all other '%' need to be escaped as '%%'. ```
1 parent a42e5b7 commit 3bbaa9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
exclude_patterns = ["_build"]
5353

5454
extlinks = {
55-
"issue": ("https://github.com/pypa/packaging/issues/%s", "#"),
56-
"pull": ("https://github.com/pypa/packaging/pull/%s", "PR #"),
55+
"issue": ("https://github.com/pypa/packaging/issues/%s", "#%s"),
56+
"pull": ("https://github.com/pypa/packaging/pull/%s", "PR #%s"),
5757
}
5858
# -- Options for HTML output --------------------------------------------------
5959

0 commit comments

Comments
 (0)