Use local hyperlinks for :doc:

This commit is contained in:
Kovid Goyal
2022-08-20 16:32:35 +05:30
parent ad6d928c12
commit 11ffa961bc

View File

@@ -254,9 +254,9 @@ func prettify(text string) string {
}
return italic_fmt(val)
case "env", "envvar":
return italic_fmt(val)
return ref_hyperlink(val, "envvar-")
case "doc":
return website_url(val)
return ref_hyperlink(val, "doc-")
case "ref":
return ref_hyperlink(val, "")
case "ac":