[PATCH 4/4] doc: Remove duplicated descriptions of wayland objects

Bill Spitzak spitzak at gmail.com
Tue Dec 2 18:29:36 PST 2014


This text is a duplicate of the text in the protocol documentation, but
the converter mangled it by removing the paragraph breaks and some other
errors. Instead replace it with a list of links to the protocol docs.
---
 doc/publican/protocol-interfaces-to-docbook.xsl |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/doc/publican/protocol-interfaces-to-docbook.xsl b/doc/publican/protocol-interfaces-to-docbook.xsl
index 9cf0695..fb1a816 100644
--- a/doc/publican/protocol-interfaces-to-docbook.xsl
+++ b/doc/publican/protocol-interfaces-to-docbook.xsl
@@ -34,21 +34,15 @@
 <!-- Interfaces summary -->
 <xsl:template match="interface" >
 <varlistentry>
-    <xsl:attribute name="id">protocol-summary-<xsl:value-of select="name()"/>-<xsl:value-of select="@name" />
-    </xsl:attribute>
-    <term>
+  <term>
+    <link linkend="protocol-spec-interface-{@name}">
       <xsl:value-of select="@name" />
       <xsl:if test="description/@summary">
         - <xsl:value-of select="description/@summary" />
       </xsl:if>
-    </term>
-    <listitem>
-    <para>
-      <xsl:value-of select="description"/>
-    </para>
-    </listitem>
-  </varlistentry>
-
+    </link>
+  </term>
+</varlistentry>
 </xsl:template>
 
 </xsl:stylesheet>
-- 
1.7.9.5



More information about the wayland-devel mailing list