summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-25 09:13:08 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:58:56 +0100
commitdd09b077c06c68896d6b1c874d852231aeed1e85 (patch)
treeb90d666f706d55b650a27b0355e17956f795a0c2 /bitbake
parentca77f37bf8e77087cedd19e4593aaf6fcef7fe81 (diff)
downloadpoky-dd09b077c06c68896d6b1c874d852231aeed1e85.tar.gz
bitbake: template: Added XSL template to support variable glossary permalinks.
Fixes [YOCTO #5772] This file enables creation of permalinks for variables defined in the glossary. (Bitbake rev: 772f2bdc10fa242646e4d09f6bdbaf8558f06b22) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/doc/template/gloss-permalinks.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/doc/template/gloss-permalinks.xsl b/bitbake/doc/template/gloss-permalinks.xsl
new file mode 100644
index 0000000000..6bf58116f6
--- /dev/null
+++ b/bitbake/doc/template/gloss-permalinks.xsl
@@ -0,0 +1,14 @@
1<xsl:stylesheet version="1.0"
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:d="http://docbook.org/ns/docbook"
4 xmlns="http://www.w3.org/1999/xhtml">
5
6 <xsl:template match="glossentry/glossterm">
7 <xsl:apply-imports/>
8 <xsl:if test="$generate.permalink != 0">
9 <xsl:call-template name="permalink">
10 <xsl:with-param name="node" select=".."/>
11 </xsl:call-template>
12 </xsl:if>
13 </xsl:template>
14</xsl:stylesheet>