588
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : project.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.project as project>
|
|
25 |
<@pp.changeOutputFile name="project-${project.name}.rst" />
|
|
26 |
|
|
27 |
|
|
28 |
.. index::
|
|
29 |
${project.name}
|
|
30 |
|
|
31 |
==========================================================
|
|
32 |
Project ${project.name}
|
|
33 |
==========================================================
|
|
34 |
|
|
35 |
.. contents::
|
|
36 |
|
|
37 |
:Location: <@helium_api_location_path location="${project.location}"/>
|
|
38 |
|
|
39 |
<#recurse project.description>
|
|
40 |
|
|
41 |
**Project dependencies**
|
|
42 |
|
|
43 |
<#assign filelist = project.projectDependency>
|
|
44 |
<#list filelist as filelistvar>
|
|
45 |
- ``${filelistvar}``
|
|
46 |
</#list>
|
|
47 |
|
|
48 |
Targets
|
|
49 |
=========
|
|
50 |
|
|
51 |
<#assign targetCache = {}>
|
|
52 |
<#list project.target as target>
|
|
53 |
<#assign targetCache = targetCache + {target.name: target}>
|
|
54 |
</#list>
|
|
55 |
|
|
56 |
<#list targetCache?keys?sort as name>
|
|
57 |
<#assign target=targetCache[name]>
|
|
58 |
|
|
59 |
.. index::
|
|
60 |
${target.name}
|
|
61 |
|
|
62 |
${target.name}
|
|
63 |
----------------------------------------------------------
|
|
64 |
|
|
65 |
<#if target.deprecated?length > 0>
|
|
66 |
..warning:: ${target.deprecated}
|
|
67 |
</#if>
|
|
68 |
|
|
69 |
<#if target.description?length > 0>
|
|
70 |
:Description: ${target.description}
|
|
71 |
</#if>
|
|
72 |
:Location: <@helium_api_location_path location="${target.location}"/>
|
|
73 |
:Scope: ${target.scope}
|
628
|
74 |
<#if target.since?length > 0>
|
|
75 |
:Since: ${target.since}
|
|
76 |
</#if>
|
588
|
77 |
<#if target.ifDependency?length > 0>
|
|
78 |
:Condition: Target **is** run if property defined: :hlm-p:`${target.ifDependency}`
|
|
79 |
</#if>
|
|
80 |
<#if target.unlessDependency?length > 0>
|
|
81 |
:Condition: Target **is not** run if property defined: ``${target.unlessDependency}``
|
|
82 |
</#if>
|
|
83 |
|
628
|
84 |
|
588
|
85 |
<#recurse target.documentation>
|
|
86 |
|
|
87 |
<#assign propertyList=target.propertyDependency?sort>
|
|
88 |
<#if propertyList?size > 0>
|
|
89 |
**Property dependencies**
|
|
90 |
|
|
91 |
<#list propertyList as property>
|
|
92 |
- :hlm-p:`${property}`
|
|
93 |
</#list>
|
|
94 |
</#if>
|
|
95 |
|
|
96 |
|
628
|
97 |
<#assign signalsList=target.signal?sort>
|
|
98 |
<#if signalsList?size > 0>
|
|
99 |
**Signals**
|
|
100 |
|
|
101 |
<#list signalsList as signal>
|
|
102 |
- ``${signal}``
|
|
103 |
</#list>
|
|
104 |
</#if>
|
|
105 |
|
|
106 |
|
588
|
107 |
**Target dependencies**
|
|
108 |
|
|
109 |
.. raw:: html
|
|
110 |
|
|
111 |
<img src="../../api/helium/target-${target.name}.dot.png" alt="target-${target.name}" usemap="#target-${target.name}" style="border-style: none"/>
|
|
112 |
<map name="target-${target.name}" id="target-${target.name}">
|
|
113 |
|
|
114 |
.. raw:: html
|
|
115 |
:file: ../../api/helium/target-${target.name}.dot.cmap
|
|
116 |
|
|
117 |
.. raw:: html
|
|
118 |
|
|
119 |
</map>
|
|
120 |
|
|
121 |
**Source code**
|
|
122 |
|
|
123 |
::
|
|
124 |
|
|
125 |
${target.source?replace("^", " ", "rm")}
|
|
126 |
|
|
127 |
</#list>
|
|
128 |
|
|
129 |
|
|
130 |
<#if project.property?size > 0>
|
|
131 |
|
|
132 |
Properties
|
|
133 |
===========
|
|
134 |
|
|
135 |
<#assign propertyCache = {}>
|
|
136 |
<#list project.property as property>
|
|
137 |
<#assign propertyCache = propertyCache + {property.name: property}>
|
|
138 |
</#list>
|
|
139 |
|
|
140 |
<#list propertyCache?keys?sort as name>
|
|
141 |
<#assign property=propertyCache[name]>
|
|
142 |
|
|
143 |
.. index::
|
|
144 |
${property.name}
|
|
145 |
|
|
146 |
${property.name}
|
|
147 |
----------------------------------------------------------
|
|
148 |
|
|
149 |
<#if property.deprecated?length > 0>
|
|
150 |
..warning:: ${property.deprecated}
|
|
151 |
</#if>
|
|
152 |
|
|
153 |
:Location: <@helium_api_location_path location="${property.location}"/>
|
|
154 |
:Type: ${property.type}
|
|
155 |
:Scope: ${property.scope}
|
628
|
156 |
<#if property.scope?length > 0>
|
|
157 |
:Since: ${property.since}
|
|
158 |
</#if>
|
588
|
159 |
:Editable: ${property.editable}
|
|
160 |
<#if property.defaultValue?size > 1>
|
|
161 |
:Default value: ``${property.defaultValue}``
|
|
162 |
</#if>
|
|
163 |
|
|
164 |
<#recurse property.documentation>
|
|
165 |
|
|
166 |
**Source code**
|
|
167 |
|
|
168 |
::
|
|
169 |
|
|
170 |
${property.source}
|
|
171 |
|
|
172 |
</#list>
|
|
173 |
</#if>
|
|
174 |
|
|
175 |
<#if project.macro?size > 0>
|
|
176 |
|
|
177 |
Macros
|
|
178 |
===========
|
|
179 |
|
|
180 |
<#assign macroCache = {}>
|
|
181 |
<#list project.macro as macro>
|
|
182 |
<#assign macroCache = macroCache + {macro.name: macro}>
|
|
183 |
</#list>
|
|
184 |
|
|
185 |
<#list macroCache?keys?sort as name>
|
|
186 |
<#assign macro=macroCache[name]>
|
|
187 |
|
|
188 |
.. index::
|
|
189 |
${macro.name}
|
|
190 |
|
|
191 |
${macro.name}
|
|
192 |
----------------------------------------------------------
|
|
193 |
|
|
194 |
<#if macro.deprecated?length > 0>
|
|
195 |
..warning:: ${macro.deprecated}
|
|
196 |
</#if>
|
|
197 |
|
|
198 |
:Location: <@helium_api_location_path location="${macro.location}"/>
|
|
199 |
:Scope: ${macro.scope}
|
628
|
200 |
<#if macro.scope?length > 0>
|
|
201 |
:Since: ${macro.since}
|
|
202 |
</#if>
|
588
|
203 |
|
|
204 |
<#recurse macro.documentation>
|
|
205 |
|
|
206 |
**Usage**
|
|
207 |
|
|
208 |
::
|
|
209 |
|
|
210 |
${macro.usage?replace("^", " ", "rm")}
|
|
211 |
|
|
212 |
**Source code**
|
|
213 |
|
|
214 |
::
|
|
215 |
|
|
216 |
${macro.source?replace("^", " ", "rm")}
|
|
217 |
|
|
218 |
</#list>
|
|
219 |
</#if>
|
|
220 |
|
|
221 |
</#list>
|
|
222 |
|
|
223 |
|
|
224 |
|