mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-03 07:15:42 -04:00
doc: output enum and bitfield attributes in the documentation
Signed-off-by: Auke Booij <auke@tulcod.com> Reviewed-by: Nils Chr. Brause <nilschrbrause@googlemail.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
1771299a5a
commit
4a97cb3579
1 changed files with 9 additions and 0 deletions
|
|
@ -102,6 +102,12 @@
|
||||||
<term><xsl:value-of select="@name"/></term>
|
<term><xsl:value-of select="@name"/></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<simpara>
|
<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:value-of select="@type"/>
|
||||||
<xsl:if test="@summary" >
|
<xsl:if test="@summary" >
|
||||||
- <xsl:value-of select="@summary"/>
|
- <xsl:value-of select="@summary"/>
|
||||||
|
|
@ -171,6 +177,9 @@
|
||||||
<section id="protocol-spec-{../@name}-{name()}-{@name}">
|
<section id="protocol-spec-{../@name}-{name()}-{@name}">
|
||||||
<title>
|
<title>
|
||||||
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
|
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
|
||||||
|
<xsl:if test="@bitfield">
|
||||||
|
- bitfield
|
||||||
|
</xsl:if>
|
||||||
<xsl:if test="description/@summary">
|
<xsl:if test="description/@summary">
|
||||||
- <xsl:value-of select="description/@summary" />
|
- <xsl:value-of select="description/@summary" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue