Another bug in resolve_ref
This commit is contained in:
parent
cd35f92607
commit
b6760a59fa
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def resolve_ref(ref: str, website_url: Callable[[str], str] = website_url) -> st
|
|||
m = ref_map()
|
||||
href = m['ref'].get(ref, '')
|
||||
if href:
|
||||
return href
|
||||
return website_url(href)
|
||||
if ref.startswith('conf-kitty-'):
|
||||
href = f'{website_url("conf")}#{ref}'
|
||||
elif ref.startswith('conf-kitten-'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue