diff -r 59bb7c4d6172 -r 0f5e3a7fb6af buildframework/helium/doc/src/api/macro.html.ftl --- a/buildframework/helium/doc/src/api/macro.html.ftl Fri Feb 05 11:59:41 2010 +0000 +++ b/buildframework/helium/doc/src/api/macro.html.ftl Thu Mar 04 15:10:37 2010 +0200 @@ -20,7 +20,7 @@ ============================================================================ --> <#include "api.ftllib"/> -<#list doc.antDatabase.project.macro as macro> +<#list doc['antDatabase/*/macro'] as macro> <@pp.changeOutputFile name="macro-${macro.name}.html" /> <@helium_api_header title="Macro ${macro.name}"/> @@ -29,12 +29,17 @@
Description
+${macro.description}
+Location
<@helium_api_location_path location="${macro.location}"/>
<#recurse macro.documentation>
@@ -43,6 +48,11 @@Example:
${macro.usage}
+ ${macro.source?html} +<@helium_api_html_footer/>