mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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:
parent
1f39fbf8d2
commit
be8064d2d4
1 changed files with 21 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue