Revision: 1296 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1296&view=re... Author: colombanw Date: 2010-04-24 21:47:44 +0000 (Sat, 24 Apr 2010)
Log Message: ----------- GeanyGenDoc: Update C filetype configuration
gtkdoc: * Don't document prototypes; * Fill-in union rule. doxygen: * Add support for more types.
Modified Paths: -------------- trunk/geanygendoc/data/filetypes/c.conf
Modified: trunk/geanygendoc/data/filetypes/c.conf =================================================================== --- trunk/geanygendoc/data/filetypes/c.conf 2010-04-24 21:47:16 UTC (rev 1295) +++ trunk/geanygendoc/data/filetypes/c.conf 2010-04-24 21:47:44 UTC (rev 1296) @@ -47,9 +47,6 @@ position = BEFORE; policy = KEEP; } - prototype = { - template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: \n{end} * \n * \n{if returns} * \n * Returns: \n{end} */\n"; - } macro = { template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: \n{end} * \n * \n{if returns} * \n * Returns: \n{end} */\n"; } @@ -64,7 +61,8 @@ template = "/**\n * {symbol}:\n{for enumval in enumval_list} * @{enumval}: \n{end} * \n * \n */\n"; } union = { - # FIXME: fill-in + template = "/**\n * {symbol}:\n{for member in children} * @{member}: \n{end} * \n * \n */\n"; + children = MERGE; } typedef = { template = "/**\n * {symbol}:\n * \n * \n */\n"; @@ -75,21 +73,25 @@ }
doxygen = { - function = { - template = "/**\n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; - position = BEFORE; - policy = KEEP; - } - + function.template = "/**\n * {doxygen_prefix}brief: \n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; + macro.template = "/**\n * {doxygen_prefix}brief: \n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; struct.member = { template = " /**< */"; position = AFTER; } - struct = { - template = "/**\n * \n */\n"; - position = BEFORE; - policy = KEEP; + struct.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + union.member = { + template = " /**< */"; + position = AFTER; } + union.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + enum.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + enum.enumval = { + template = " /**< */"; + position = AFTER; + } + typedef.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + define.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org