mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: xsl: Properly propagate 'href_base' as XSL template parameter
Propagate it as a parameter both from site.xsl and from newapi.xsl, the latter of which declared it as a variable. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
|
||||
<!-- the target directory for the HTML output -->
|
||||
<xsl:variable name="htmldir">html</xsl:variable>
|
||||
<xsl:variable name="href_base">../</xsl:variable>
|
||||
|
||||
<xsl:template name="aclinfo">
|
||||
<xsl:param name="acl"/>
|
||||
@@ -816,6 +815,7 @@
|
||||
encoding="UTF-8">
|
||||
<xsl:apply-templates select="exsl:node-set($subpage)" mode="page">
|
||||
<xsl:with-param name="timestamp" select="$timestamp"/>
|
||||
<xsl:with-param name="href_base" select="$href_base"/>
|
||||
</xsl:apply-templates>
|
||||
</xsl:document>
|
||||
</xsl:for-each>
|
||||
|
||||
Reference in New Issue
Block a user