aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2012-09-11 16:43:34 +0200
committerMartin Kletzander <mkletzan@redhat.com>2012-09-11 17:36:03 +0200
commit0b2c40d455ee5863ce4fbafb691500c22daca373 (patch)
tree5db17ad403be6b1c25cf00a1671deefaf4700172 /docs
parentdocs: hacking.html.in: fix table of contents (diff)
downloadlibvirt-0b2c40d455ee5863ce4fbafb691500c22daca373.tar.gz
libvirt-0b2c40d455ee5863ce4fbafb691500c22daca373.tar.bz2
libvirt-0b2c40d455ee5863ce4fbafb691500c22daca373.zip
docs: page.xsl: fix FAQ link in subdirectories
Links to the FAQ didn't work on pages in subdirectories, like devhelp/libvirt-virterror.html or internals/command.html, because they have had href_base prepended to them.
Diffstat (limited to 'docs')
-rw-r--r--docs/page.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/page.xsl b/docs/page.xsl
index fc782a2d2..bc8ea2a1b 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -54,7 +54,7 @@
<xsl:when test="$pagename = a/@href">
<span class="{$class}"><xsl:value-of select="a"/></span>
</xsl:when>
- <xsl:when test="a/@href = 'http://wiki.libvirt.org'">
+ <xsl:when test="starts-with(a/@href, 'http://wiki.libvirt.org')">
<a title="{./span}" class="{$class}" href="{a/@href}"><xsl:value-of select="a"/></a>
</xsl:when>
<xsl:otherwise>