mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-21 15:33:53 +03:00
docs: fix libvirt go-import metadata in pages and links in 404 page
The meson conversion lost the <meta> tags providing the go-import, because the "$pagename" variable lost the .html suffix. Rather than fix that, just change to using "$pagesrc" instead, as it is a better fit. The 404 page also needs to use absolute links to work correctly for pages in sub-folders. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -835,7 +835,6 @@
|
||||
indent="yes"
|
||||
encoding="UTF-8">
|
||||
<xsl:apply-templates select="exsl:node-set($mainpage)" mode="page">
|
||||
<xsl:with-param name="pagename" select="concat($htmldir, '', $indexfile)"/>
|
||||
<xsl:with-param name="timestamp" select="$timestamp"/>
|
||||
</xsl:apply-templates>
|
||||
</xsl:document>
|
||||
@@ -851,7 +850,6 @@
|
||||
indent="yes"
|
||||
encoding="UTF-8">
|
||||
<xsl:apply-templates select="exsl:node-set($subpage)" mode="page">
|
||||
<xsl:with-param name="pagename" select="concat($htmldir, '/libvirt-', @name, '.html')"/>
|
||||
<xsl:with-param name="timestamp" select="$timestamp"/>
|
||||
</xsl:apply-templates>
|
||||
</xsl:document>
|
||||
|
Reference in New Issue
Block a user