diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2014-11-11 18:42:57 -0800 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-11-25 16:21:39 +0200 |
| commit | f2974c1115dd2191e1352574283ca43729eaf7b8 (patch) | |
| tree | 1437913dcefe34f248621a05510c59dbce563072 /doc | |
| parent | doc: preserve links produced by Doxygen (diff) | |
| download | wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar.gz wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar.bz2 wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar.lz wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar.xz wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.tar.zst wayland-f2974c1115dd2191e1352574283ca43729eaf7b8.zip | |
doc: Don't print dash if doxygen brief description missing
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/publican/doxygen-to-publican.xsl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl index 7f7abe9..461cf3e 100644 --- a/doc/publican/doxygen-to-publican.xsl +++ b/doc/publican/doxygen-to-publican.xsl @@ -131,7 +131,9 @@ <varlistentry id="{@id}"> <term> <xsl:value-of select="name"/> - - <xsl:apply-templates select="briefdescription" /> + <xsl:if test="normalize-space(briefdescription) != ''"> + - <xsl:apply-templates select="briefdescription" /> + </xsl:if> </term> <listitem> <para> @@ -150,8 +152,8 @@ <xsl:if test="@kind = 'class'"> <varlistentry id="{@id}"> <term> - <xsl:apply-templates select="compoundname" /> - <xsl:if test="briefdescription"> + <xsl:value-of select="compoundname" /> + <xsl:if test="normalize-space(briefdescription) != ''"> - <xsl:apply-templates select="briefdescription" /> </xsl:if> </term> |
