Commit 4a97cb35 authored by Auke Booij's avatar Auke Booij Committed by Bryce Harrington

doc: output enum and bitfield attributes in the documentation

Signed-off-by: default avatarAuke Booij <auke@tulcod.com>
Reviewed-by: default avatarNils Chr. Brause <nilschrbrause@googlemail.com>
Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
parent 1771299a
......@@ -102,6 +102,12 @@
<term><xsl:value-of select="@name"/></term>
<listitem>
<simpara>
<xsl:if test="@enum">
<link linkend="protocol-spec-{../../@name}-enum-{@enum}">
<xsl:value-of select="@enum"/>
</link>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:value-of select="@type"/>
<xsl:if test="@summary" >
- <xsl:value-of select="@summary"/>
......@@ -171,6 +177,9 @@
<section id="protocol-spec-{../@name}-{name()}-{@name}">
<title>
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
<xsl:if test="@bitfield">
- bitfield
</xsl:if>
<xsl:if test="description/@summary">
- <xsl:value-of select="description/@summary" />
</xsl:if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment