summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-04-02 10:09:12 +1000
committerKristian Høgsberg <krh@bitplanet.net>2013-04-03 15:44:50 -0400
commitdfeef480ac24898fcff6cf0063f8fe24e2e8a02b (patch)
tree6d1a7af480897941768cce38962f7934eb3a02cc
parentb17e5e1615a17f6cb3f5112a822d6f3f07738095 (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>