mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
doc: Don't print dash if doxygen brief description missing
This commit is contained in:
parent
ba8ea938d2
commit
f2974c1115
1 changed files with 5 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue