This repository was archived by the owner on Mar 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 16 files changed +80
-55
lines changed
packages/composer-documentation
_template/phase1-markdown Expand file tree Collapse file tree 16 files changed +80
-55
lines changed Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Asset Model
15-
16- {% for asset in types . asset %}
15+ {% for id , assets in types . asset %}
16+ {% for asset in assets %}
1717#### {{ asset .name }}
1818**{{ asset .fqn }} ** - **{{ asset .description }} **
1919
2727{% endfor %}
2828
2929{% endfor %}
30+ {% endfor %}
3031
3132
3233
Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Enumeration Detail
15-
16- {% for enum in types . enum %}
15+ {% for id , enums in types . enum %}
16+ {% for enum in enums %}
1717### {{ enum .name }}
1818The fully qualified name is **{{ enum .fqn }} **
1919
@@ -31,3 +31,4 @@ The fully qualified name is **{{enum.fqn}}**
3131{% endfor %}
3232
3333{% endfor %}
34+ {% endfor %}
Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Events Detail
15-
16- {% for evt in types . event %}
15+ {% for id , evts in types . event %}
16+ {% for evt in evts %}
1717### {{ evt .name }}
1818The fully qualified name is **{{ evt .fqn }} **
1919
@@ -31,3 +31,4 @@ The fully qualified name is **{{evt.fqn}}**
3131{% endfor %}
3232
3333{% endfor %}
34+ {% endfor %}
Original file line number Diff line number Diff line change 1818## Asset Definition
1919| Namespace | Name | Description |
2020| -------- | ---- | ----------- |
21- {% for asset in types .asset %} | {{ asset .fqn }} | {{ asset .name }} | {{ asset .description }} |
22- {% endfor %}
21+ {% for id ,assets in types .asset %}{% for asset in assets %} | {{ asset .fqn }} | {{ asset .name }} | {{ asset .description }} |
22+ {% endfor %}{% endfor %}
23+
2324
2425## Transaction Definition
2526| Namespace | Name | Description |
2627| -------- | ---- | ----------- |
27- {% for tx in types .transaction %} | {{ tx .fqn }} | {{ tx .name }} | {{ tx .description }} |
28- {% endfor %}
28+ {% for id , transactions in types .transaction %}{% for tx in transactions %} | {{ tx .fqn }} | {{ tx .name }} | {{ tx .description }} |
29+ {% endfor %}{% endfor %}
2930
3031## Participant Definition
3132| Namespace | Name | Description |
3233| -------- | ---- | ----------- |
33- {% for pt in types .participant %} | {{ pt .fqn }} | {{ pt .name }} | {{ pt .description }} |
34- {% endfor %}
34+ {% for id ,participants in types .participant %}{% for pt in participants %} | {{ pt .fqn }} | {{ pt .name }} | {{ pt .description }} |
35+ {% endfor %}{% endfor %}
36+
3537
3638## ACL
3739{% for rule in acls %} - {{ rule .description }}
Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Particpant Model
15-
16- {% for pt in types . participant %}
15+ {% for id , pts in types . participant %}
16+ {% for pt in pts %}
1717#### {{ pt .name }}
1818**{{ pt .fqn }} ** - **{{ pt .description }} **
1919
2222{% for id ,info in pt .properties %} |{{ id }} |{{ info .type }} |{{ info .description }} |
2323{% endfor %}
2424{% endfor %}
25-
25+ {% endfor %}
2626
Original file line number Diff line number Diff line change 7878 <nav class =" context-nav" >
7979 <ul >
8080 {% if ' assets' in basename %}
81- {% for asset in types .asset %}
81+ {% for id ,assets in types .asset %}
82+ {% for asset in assets %}
8283 <li ><p ><a href =" #{{asset.name | lower}}" ><b >{{ asset .name }} </b ></a ></p ></li >
8384 {% endfor %}
85+ {% endfor %}
8486 {% elif ' transactions' in basename %}
8587 {% for fn in scripts .files %}
8688 <li ><p ><a href =" #{{fn.identifier | lower}}" ><b >{{ fn .identifier }} </b ></a ></p >
9799 {% elif ' index' in basename %}
98100
99101 {% elif ' participants' in basename %}
100- {% for pt in types .participant %}
102+ {% for id ,pts in types .participant %}
103+ {% for pt in pts %}
101104 <li ><p ><a href =" #{{pt.name | lower}}" ><b >{{ pt .name }} </b ></a ></p ></li >
102105 {% endfor %}
106+ {% endfor %}
103107 {% elif ' queries' in basename %}
104108 {% for query in queries %}
105109 <li ><p ><a href =" #{{query.name | lower | replace(" _ " ," - " ) }}" ><b >{{ query .name }} </b ></a ></p ></li >
Original file line number Diff line number Diff line change 1616## Asset Definition
1717| Namespace | Name | Description |
1818| -------- | ---- | ----------- |
19- {% for asset in types .asset %} | {{ asset .fqn }} | {{ asset .name }} | {{ asset .description }} |
20- {% endfor %}
19+ {% for id ,assets in types .asset %}
20+ {% for asset in assets %} | {{ asset .fqn }} | {{ asset .name }} | {{ asset .description }} |
21+ {% endfor %}{% endfor %}
22+
2123
2224## Transaction Definition
2325| Namespace | Name | Description |
2426| -------- | ---- | ----------- |
25- {% for tx in types .transaction %} | {{ tx .fqn }} | {{ tx .name }} | {{ tx .description }} |
26- {% endfor %}
27+ {% for id , transactions in types .transaction %}{% for tx in transactions %} | {{ tx .fqn }} | {{ tx .name }} | {{ tx .description }} |
28+ {% endfor %}{% endfor %}
2729
2830## Participant Definition
2931| Namespace | Name | Description |
3032| -------- | ---- | ----------- |
31- {% for pt in types .participant %} | {{ pt .fqn }} | {{ pt .name }} | {{ pt .description }} |
32- {% endfor %}
33+ {% for id , participants in types .participant %}{% for pt in participants %} | {{ pt .fqn }} | {{ pt .name }} | {{ pt .description }} |
34+ {% endfor %}{% endfor %}
3335
3436
Original file line number Diff line number Diff line change 1313#}
1414# Asset Model
1515
16- {% for asset in types .asset %}
16+ {% for id ,assets in types .asset %}
17+ {% for asset in assets %}
1718## {{ asset .name }}
1819The fully qualified name is **{{ asset .fqn }} **
1920
@@ -38,4 +39,4 @@ The fully qualified name is **{{asset.fqn}}**
3839{% if asset .decorators .docsuri %}
3940[{{ asset .decorators .docsuri [0]}} ]({{ asset .decorators .docsuri [1]}} )
4041{% endif %}
41- {% endfor %}
42+ {% endfor %}{% endfor %}
Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Participant Model
15-
16- {% for pt in types . participant %}
15+ {% for id , participants in types . participant %}
16+ {% for pt in participants %}
1717### {{ pt .name }}
1818The fully qualified name is **{{ pt .fqn }} **
1919
@@ -32,3 +32,4 @@ The fully qualified name is **{{pt.fqn}}**
3232
3333
3434{% endfor %}
35+ {% endfor %}
Original file line number Diff line number Diff line change 1212 limitations under the License.
1313#}
1414# Transaction Functions Detail
15-
16- {% for tx in types . transaction %}
15+ {% for id , transactions in types . transaction %}
16+ {% for tx in transactions %}
1717### {{ tx .name }}
1818The fully qualified name is **{{ tx .fqn }} **
1919
@@ -30,4 +30,4 @@ The fully qualified name is **{{tx.fqn}}**
3030{% for id ,info in tx .properties %} | {{ id }} | {{ info .type }} | {{ info .description }} |
3131{% endfor %}
3232
33- {% endfor %}
33+ {% endfor %}{% endfor %}
You can’t perform that action at this time.
0 commit comments