If somebody bothered to put a doxygen comment in for a macro or
typedef, make it appear in the pages. This produces documentation
for wl_container_of and wl_dispatcher_func_t from the _8h files.
---
doc/publican/doxygen-to-publican.xsl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/publican/doxygen-to-publican.xsl
b/doc/publican/doxygen-to-publican.xsl
index ee57374..7c3b507 100644
--- a/doc/publican/doxygen-to-publican.xsl
+++ b/doc/publican/doxygen-to-publican.xsl
@@ -101,7 +101,8 @@
<!-- methods -->
<xsl:template match="memberdef" >
- <xsl:if test="@kind = 'function' and @static = 'no'">
+ <xsl:if test="@kind = 'function' and @static = 'no' or
+ @kind !='function' and normalize-space(briefdescription) !=
''">
<varlistentry id="{$which}-{@id}">
<term>
<xsl:value-of select="name"/>
--
1.7.9.5
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel