summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/vty/merge_doc.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/vty/merge_doc.xsl b/doc/vty/merge_doc.xsl
index caea1103..adbc1c14 100644
--- a/doc/vty/merge_doc.xsl
+++ b/doc/vty/merge_doc.xsl
@@ -18,7 +18,9 @@
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
<xsl:for-each select="$info/*">
- <xsl:copy-of select="." />
+ <xsl:if test="not($info/vty:description)">
+ <xsl:copy-of select="." />
+ </xsl:if>
</xsl:for-each>
</xsl:copy>
</xsl:if>