588
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : antlib.rst.ftl
|
|
4 |
Part of : Helium
|
|
5 |
|
|
6 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
7 |
All rights reserved.
|
|
8 |
This component and the accompanying materials are made available
|
|
9 |
under the terms of the License "Eclipse Public License v1.0"
|
|
10 |
which accompanies this distribution, and is available
|
|
11 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
12 |
|
|
13 |
Initial Contributors:
|
|
14 |
Nokia Corporation - initial contribution.
|
|
15 |
|
|
16 |
Contributors:
|
|
17 |
|
|
18 |
Description:
|
|
19 |
|
|
20 |
============================================================================
|
|
21 |
-->
|
|
22 |
<#include "api.ftllib"/>
|
|
23 |
|
|
24 |
<#list doc.antDatabase.antlib as antlib>
|
|
25 |
<@pp.changeOutputFile name="antlib-${antlib.name}.rst" />
|
|
26 |
|
|
27 |
|
|
28 |
.. index::
|
|
29 |
${antlib.name}
|
|
30 |
|
|
31 |
==========================================================
|
|
32 |
Antlib ${antlib.name}
|
|
33 |
==========================================================
|
|
34 |
|
|
35 |
.. contents::
|
|
36 |
|
|
37 |
:Location: <@helium_api_location_path location="${antlib.location}"/>
|
|
38 |
|
|
39 |
<#if antlib.macro?size > 0>
|
|
40 |
|
|
41 |
Macros
|
|
42 |
===========
|
|
43 |
|
|
44 |
<#assign macroCache = {}>
|
|
45 |
<#list antlib.macro as macro>
|
|
46 |
<#assign macroCache = macroCache + {macro.name: macro}>
|
|
47 |
</#list>
|
|
48 |
|
|
49 |
<#list macroCache?keys?sort as name>
|
|
50 |
<#assign macro=macroCache[name]>
|
|
51 |
|
|
52 |
.. index::
|
|
53 |
${macro.name}
|
|
54 |
|
|
55 |
${macro.name}
|
|
56 |
----------------------------------------------------------
|
|
57 |
|
|
58 |
<#if macro.deprecated?length > 0>
|
|
59 |
..warning:: ${macro.deprecated}
|
|
60 |
</#if>
|
|
61 |
|
|
62 |
:Location: <@helium_api_location_path location="${macro.location}"/>
|
|
63 |
:Scope: ${macro.scope}
|
|
64 |
|
|
65 |
<#recurse macro.documentation>
|
|
66 |
|
|
67 |
**Usage**
|
|
68 |
|
|
69 |
::
|
|
70 |
|
|
71 |
${macro.usage?replace("^", " ", "rm")}
|
|
72 |
|
|
73 |
**Source code**
|
|
74 |
|
|
75 |
::
|
|
76 |
|
|
77 |
${macro.source?replace("^", " ", "rm")}
|
|
78 |
|
|
79 |
</#list>
|
|
80 |
</#if>
|
|
81 |
|
|
82 |
</#list>
|
|
83 |
|
|
84 |
|
|
85 |
|