[PATCH 5/9] doc: removed some unnecessary nested listing from doxygen output

Bill Spitzak spitzak at gmail.com
Tue Nov 11 18:42:58 PST 2014


This makes the lists of parameters slightly smaller and removes some
bullets from see-also and since.
---
 doc/publican/doxygen-to-publican.xsl |   28 ++++++++--------------------
 1 file changed, 8 insertions(+), 20 deletions(-)

diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl
index 461cf3e..d8f3289 100644
--- a/doc/publican/doxygen-to-publican.xsl
+++ b/doc/publican/doxygen-to-publican.xsl
@@ -45,9 +45,7 @@
           <xsl:apply-templates select="parameternamelist/parametername"/>
         </term>
       <listitem>
-        <para>
-          <xsl:apply-templates select="parameterdescription/para"/>
-        </para>
+        <xsl:apply-templates select="parameterdescription"/>
       </listitem>
     </varlistentry>
 </xsl:template>
@@ -69,32 +67,22 @@
     <varlistentry>
       <term>Returns:</term>
       <listitem>
-        <para>
-          <xsl:apply-templates />
-        </para>
+        <xsl:apply-templates />
       </listitem>
     </varlistentry>
   </variablelist>
 </xsl:template>
 
 <xsl:template match="simplesect[@kind='see']">
-  <itemizedlist>
-    <listitem>
-      <para>
-        See also: <xsl:apply-templates />
-      </para>
-    </listitem>
-  </itemizedlist>
+  <para>
+    See also: <xsl:apply-templates />
+  </para>
 </xsl:template>
 
 <xsl:template match="simplesect[@kind='since']">
-  <itemizedlist>
-    <listitem>
-      <para>
-        Since: <xsl:apply-templates />
-      </para>
-    </listitem>
-  </itemizedlist>
+  <para>
+    Since: <xsl:apply-templates />
+  </para>
 </xsl:template>
 
 <xsl:template match="simplesect[@kind='note']">
-- 
1.7.9.5



More information about the wayland-devel mailing list