summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-04-01 10:37:05 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-04-03 14:06:56 +1000
commit804784d30f131b140733871c3d2426f2143b54f6 (patch)
tree4e44ba450f0e6bcbdebee196e8f3ab401369f72b
parent4c2524feda4ea90f8289d7796ae92717ed8da769 (diff)
doc: don't start a variable list if we have no sub-elements
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--doc/Wayland/doxygen-to-publican.xsl12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/Wayland/doxygen-to-publican.xsl b/doc/Wayland/doxygen-to-publican.xsl
index 864237c..160b124 100644
--- a/doc/Wayland/doxygen-to-publican.xsl
+++ b/doc/Wayland/doxygen-to-publican.xsl
@@ -19,11 +19,13 @@
the library.
</para>
- <para>
- <variablelist>
- <xsl:apply-templates select="/doxygen/compounddef" />
- </variablelist>
- </para>
+ <xsl:if test="/doxygen/compounddef[@kind='class']">
+ <para>
+ <variablelist>
+ <xsl:apply-templates select="/doxygen/compounddef" />
+ </variablelist>
+ </para>
+ </xsl:if>
<para>Methods for the respective classes.</para>