summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl')
-rw-r--r--import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl b/import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl
new file mode 100644
index 000000000..6bf58116f
--- /dev/null
+++ b/import-layers/yocto-poky/bitbake/doc/template/gloss-permalinks.xsl
@@ -0,0 +1,14 @@
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:d="http://docbook.org/ns/docbook"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <xsl:template match="glossentry/glossterm">
+ <xsl:apply-imports/>
+ <xsl:if test="$generate.permalink != 0">
+ <xsl:call-template name="permalink">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+</xsl:stylesheet>
OpenPOWER on IntegriCloud