aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/publican/xsl/doxygen-to-publican.xsl12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/publican/xsl/doxygen-to-publican.xsl b/doc/publican/xsl/doxygen-to-publican.xsl
index e13dcd7..0387372 100644
--- a/doc/publican/xsl/doxygen-to-publican.xsl
+++ b/doc/publican/xsl/doxygen-to-publican.xsl
@@ -101,8 +101,16 @@
<!-- methods -->
<xsl:template match="memberdef" >
- <xsl:if test="@kind = 'function' and @static = 'no' and @prot = 'public' or
- @kind !='function' and normalize-space(briefdescription) != ''">
+ <xsl:if test="(@kind = 'function' and
+ (@static = 'no' or
+ substring(location/@bodyfile,
+ string-length(location/@bodyfile) - 1,
+ 1000) = '.h'
+ )
+ and @prot = 'public'
+ )
+ or
+ (@kind != 'function' and normalize-space(briefdescription) != '')">
<varlistentry id="{$which}-{@id}">
<term>
<xsl:value-of select="name"/>