buildframework/helium/doc/api_rst/api.ftllib
author Zheng Shen <zheng.shen@nokia.com>
Tue, 20 Jul 2010 15:02:28 +0800
changeset 617 3a747a240983
parent 588 c7c26511138f
permissions -rw-r--r--
ROM Tools 12.2.0.4 Postlinker 2.2.5 Revert package_definition.xml to changeset 360bd6b35136
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     1
<#--
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     2
============================================================================ 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     3
Name        : 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     4
Part of     : Helium 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     5
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     6
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     7
All rights reserved.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     8
This component and the accompanying materials are made available
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     9
under the terms of the License "Eclipse Public License v1.0"
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    10
which accompanies this distribution, and is available
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    11
at the URL "http://www.eclipse.org/legal/epl-v10.html".
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    12
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    13
Initial Contributors:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    14
Nokia Corporation - initial contribution.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    15
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    16
Contributors:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    17
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    18
Description:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    19
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    20
============================================================================
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    21
-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    22
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    23
<#if ant?keys?seq_contains("tracurl")>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    24
    <#assign helium_browser_trunk=ant.tracurl>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    25
<#else>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    26
    <#assign helium_browser_trunk="">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    27
</#if>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    28
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    29
<#macro helium_api_location_path location>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    30
    <#assign target_line=""/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    31
    <#assign res = location?matches(":(\\d+):$") />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    32
    <#list res as m>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    33
        <#assign target_line="#L${m?groups[1]}"/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    34
    </#list>      
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    35
    <#assign location_path=location/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    36
    <#if location?index_of("helium\\") &gt; 0>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    37
        <#assign location_path=location?substring(location?last_index_of('helium\\'))/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    38
    </#if>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    39
<#--       <#assign target_url=location_path?replace("\\", "/")?replace(":(\\d+):", "", 'ri') />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    40
    <tt class="docutils literal"><a href="${helium_browser_trunk}/${target_url}${target_line}">${location_path}</a></tt>-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    41
    ``${location_path}``
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    42
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    43
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    44
<#macro helium_project_path location>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    45
    <#assign location_path=location/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    46
    <#if location?index_of("helium\\") &gt; 0>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    47
        <#assign location_path=location?substring(location?last_index_of('helium\\'))/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    48
    </#if>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    49
       <#assign target_url=location_path?replace("\\", "/")?replace(":(\\d+):", "", 'ri') />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    50
    <tt class="docutils literal"><a href="${helium_browser_trunk}/${target_url}">${target_url}</a></tt>  
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    51
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    52
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    53
<#-- Macros for recursively handling random HTML elements inside documentation elements. -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    54
<#macro tt> <tt><#recurse></tt> </#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    55
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    56
<#macro div><#recurse></#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    57
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    58
<#macro p><#recurse>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    59
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    60
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    61
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    62
<#macro ul>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    63
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    64
<#recurse>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    65
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    66
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    67
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    68
<#macro li>    - <#recurse>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    69
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    70
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    71
<#macro b>**<#recurse>**</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    72
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    73
<#macro pre>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    74
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    75
    <#recurse>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    76
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    77
</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    78
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    79
<#macro @text>${.node?trim}</#macro>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    80