We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
str.format_map
1 parent fa8c81a commit 1cc9699Copy full SHA for 1cc9699
sphinx/roles.py
@@ -374,7 +374,7 @@ def run(self) -> tuple[list[Node], list[system_message]]:
374
inner: nodes.Node
375
text = self.title[1:] if self.disabled else self.title
376
if not self.disabled and self.config.manpages_url:
377
- uri = self.config.manpages_url.format(**info)
+ uri = self.config.manpages_url.format_map(info)
378
inner = nodes.reference('', text, classes=[self.name], refuri=uri)
379
else:
380
inner = nodes.Text(text)
0 commit comments