buildframework/helium/doc/src/api/macro.html.ftl
branchfix
changeset 391 877485b44765
parent 217 0f5e3a7fb6af
equal deleted inserted replaced
390:421e376bfce4 391:877485b44765
    18 Description:
    18 Description:
    19 
    19 
    20 ============================================================================
    20 ============================================================================
    21 -->
    21 -->
    22 <#include "api.ftllib"/>
    22 <#include "api.ftllib"/>
    23 <#list doc.antDatabase.project.macro as macro>
    23 <#list doc['antDatabase/*/macro'] as macro>
    24 <@pp.changeOutputFile name="macro-${macro.name}.html" />
    24 <@pp.changeOutputFile name="macro-${macro.name}.html" />
    25 
    25 
    26 <@helium_api_header title="Macro ${macro.name}"/>
    26 <@helium_api_header title="Macro ${macro.name}"/>
    27 
    27 
    28 
    28 
    29 
    29 
    30 <h2>Macro ${macro.name}</h2>
    30 <h2>Macro ${macro.name}</h2>
    31 
    31 
       
    32 <b>Scope: </b>${macro.scope}<br/>
       
    33 
       
    34 <p><b>Description</b></p>
       
    35 <p>${macro.description}</p>
       
    36 
    32 <p><b>Location</b></p>
    37 <p><b>Location</b></p>
    33 <p><@helium_api_location_path location="${macro.location}"/></p>
    38 <p><@helium_api_location_path location="${macro.location}"/></p>
    34 
    39 
    35 <hr/>
    40 <hr/>
    36 
    41 
    37 <h3>Description</h3>
    42 <h3>Documentation</h3>
    38 <p>
    43 <p>
    39 <#recurse macro.documentation>
    44 <#recurse macro.documentation>
    40 </p>
    45 </p>
    41 <p/>
    46 <p/>
    42 
    47 
    43 <p>Example: <pre>${macro.usage}</pre></p>
    48 <p>Example: <pre>${macro.usage}</pre></p>
    44 
    49 
    45 <hr/>
    50 <hr/>
       
    51 
       
    52 <h3>Source code</h3>
       
    53 <pre>
       
    54     ${macro.source?html}
       
    55 </pre>
    46    
    56    
    47 <@helium_api_html_footer/>
    57 <@helium_api_html_footer/>
    48 
    58 
    49 </#list>
    59 </#list>
    50 
    60