summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2015-01-23 17:41:07 -0800
committerBryce Harrington <bryce@osg.samsung.com>2015-01-26 17:54:59 -0800
commited57d6d43889ebb4835ee04b1ea98fbda0548786 (patch)
treeaca7f6ec38dc77ea8f3885a62ab3f2e55f070067
parent5409187ed01dac8b3dd77c099a1ba8a5303062d1 (diff)
downloadwayland-ed57d6d43889ebb4835ee04b1ea98fbda0548786.tar.gz
doc: Add macros and typedefs to the documentation
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. Reviewed-by: "Jon A. Cruz" <jonc@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r--doc/publican/doxygen-to-publican.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl
index a151628..cbcb281 100644
--- a/doc/publican/doxygen-to-publican.xsl
+++ b/doc/publican/doxygen-to-publican.xsl
@@ -134,7 +134,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"/>