[PATCH 3/3] doc: Put a dash between type/enum value and description

Bill Spitzak spitzak at gmail.com
Fri Jan 23 17:41:08 PST 2015


This was suggested by Derek Foreman, I think it looks better
---
 doc/publican/protocol-to-docbook.xsl |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/publican/protocol-to-docbook.xsl b/doc/publican/protocol-to-docbook.xsl
index a886b7f..7b45969 100644
--- a/doc/publican/protocol-to-docbook.xsl
+++ b/doc/publican/protocol-to-docbook.xsl
@@ -87,9 +87,9 @@
     <term><xsl:value-of select="@name"/></term>
     <listitem>
       <simpara>
-        (<xsl:value-of select="@value"/>)
+        <xsl:value-of select="@value"/>
         <xsl:if test="@summary" >
-          <xsl:value-of select="@summary"/>
+          - <xsl:value-of select="@summary"/>
         </xsl:if>
       </simpara>
     </listitem>
@@ -104,7 +104,7 @@
         <simpara>
           <xsl:value-of select="@type"/>
           <xsl:if test="@summary" >
-            <xsl:text> </xsl:text><xsl:value-of select="@summary"/>
+            - <xsl:value-of select="@summary"/>
           </xsl:if>
         </simpara>
     </listitem>
@@ -121,7 +121,7 @@
             <xsl:value-of select="@interface"/>
           </link>
           <xsl:if test="@summary" >
-            <xsl:text> </xsl:text><xsl:value-of select="@summary"/>
+            - <xsl:value-of select="@summary"/>
           </xsl:if>
         </simpara>
     </listitem>
@@ -139,7 +139,7 @@
             <xsl:value-of select="@interface"/>
           </link>
           <xsl:if test="@summary" >
-            <xsl:text> </xsl:text><xsl:value-of select="@summary"/>
+            - <xsl:value-of select="@summary"/>
           </xsl:if>
         </simpara>
     </listitem>
-- 
1.7.9.5



More information about the wayland-devel mailing list