setup: fix documentation URL for releases.

This commit is contained in:
Catherine 2021-12-16 18:02:11 +00:00
parent e2b3e8caf9
commit 39a83f4d99

View file

@ -24,7 +24,7 @@ def doc_version():
if not git: if not git:
return "" return ""
elif git.exact: elif git.exact:
return git.format_with("{tag}") return git.format_with("v{tag}")
else: else:
return "latest" return "latest"