Handle <> inside :ref: on the CLI
This commit is contained in:
parent
93a7b220c9
commit
11bc1b100c
@ -149,6 +149,11 @@ def doc(x: str) -> str:
|
||||
return website_url(x)
|
||||
|
||||
|
||||
@role
|
||||
def ref(x: str) -> str:
|
||||
return re.sub(r'\s*<.+?>', '', x)
|
||||
|
||||
|
||||
OptionSpecSeq = List[Union[str, OptionDict]]
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user