doc: compress the lists in the protocol docs some

Use simpara to remove the blank lines, and put the type/value and
the comment into the same line.

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Bill Spitzak 2015-01-02 18:29:20 -08:00 committed by Bryce Harrington
parent 1f39fbf8d2
commit be8064d2d4

View file

@ -81,20 +81,32 @@
</section>
</xsl:template>
<!-- table contents for request/event arguments or enum values -->
<xsl:template match="arg|entry">
<!-- table contents for enum values -->
<xsl:template match="entry">
<varlistentry>
<term><xsl:value-of select="@name"/></term>
<listitem>
<xsl:if test="name() = 'arg'" >
<para>Type: <xsl:value-of select="@type"/></para>
</xsl:if>
<xsl:if test="name() = 'entry'" >
<para>Value: <xsl:value-of select="@value"/></para>
</xsl:if>
<simpara>
(<xsl:value-of select="@value"/>)
<xsl:if test="@summary" >
<para><xsl:value-of select="@summary"/></para>
<xsl:value-of select="@summary"/>
</xsl:if>
</simpara>
</listitem>
</varlistentry>
</xsl:template>
<!-- table contents for request/event arguments -->
<xsl:template match="arg">
<varlistentry>
<term><xsl:value-of select="@name"/></term>
<listitem>
<simpara>
<xsl:value-of select="@type"/>
<xsl:if test="@summary" >
<xsl:text> </xsl:text><xsl:value-of select="@summary"/>
</xsl:if>
</simpara>
</listitem>
</varlistentry>
</xsl:template>