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

Submitted by Bill Spitzak on Nov. 12, 2014, 2:42 a.m.

Details

Message ID 1415760182-19568-6-git-send-email-spitzak@gmail.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Bill Spitzak Nov. 12, 2014, 2:42 a.m.
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(-)

Patch hide | download patch | download mbox

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']">