fixup! sphinx.ext.extlinks: Clarify escaping of `%`

This commit is contained in:
Merry Bass
2021-04-09 10:30:57 +00:00
committed by Takeshi KOMIYA
parent ef1747f03a
commit 75605d437f

View File

@@ -44,8 +44,8 @@ The extension adds a config value:
To produce a literal ``%`` in either *base URL* or *caption*, use ``%%``::
extlinks = {'wikipedia': ('https://en.wikipedia.org/w/index.php?search=%s&title=Special%%3ASearch&fulltext=Search&ns0=1'
'Search %s on Wikipedia')}
extlinks = {'KnR': ('https://example.org/K%%26R/page/%s',
'[K&R; page %s]')}
You can also use the usual "explicit title" syntax supported by other roles
that generate links, i.e. ``:issue:`this issue <123>```. In this case, the