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