We converted exclusively to https links so the generator should wrap
those in appropriate link tags too.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/newapi.xsl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index e56a5f2a27..f2e8bd5334 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -131,6 +131,11 @@
<xsl:value-of select="$token"/>
</a>
</xsl:when>
+ <xsl:when test="starts-with($token, 'https://')">
+ <a href="{$token}">
+ <xsl:value-of select="$token"/>
+ </a>
+ </xsl:when>
<xsl:when test="starts-with($token, '<http://') and
contains($token, '>')">
<xsl:variable name="link"
select="substring(substring-before($token,
'>'), 2)"/>
--
2.37.1