mirror of https://gitee.com/openkylin/libvirt.git
docs: newapi: Consider also 'https://' links in the API generator XSL
We converted exclusively to https links so the generator should wrap those in appropriate link tags too. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
3e0b7167a0
commit
99d533c2aa
|
@ -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)"/>
|
||||
|
|
Loading…
Reference in New Issue