2016-04-18 15:57:16 -04:00
|
|
|
{# Use this document to generate the _data.json files for harp.js. This acts as the link between dgeni, jade, and harp #}
|
2015-09-16 02:21:55 -04:00
|
|
|
{
|
|
|
|
{%- for item in doc.data %}
|
|
|
|
"{$ item.name $}" : {
|
2015-09-18 06:59:37 -04:00
|
|
|
"title" : "{$ item.title $}",
|
|
|
|
{%- if item.intro %}
|
|
|
|
"intro" : "{$ item.intro $}",
|
|
|
|
{%- endif %}
|
|
|
|
{%- if item.varType %}
|
|
|
|
"varType" : "{$ item.varType $}",
|
|
|
|
{%- endif %}
|
2015-09-18 07:12:32 -04:00
|
|
|
{%- if item.originalModule %}
|
|
|
|
"originalModule" : "{$ item.originalModule $}",
|
|
|
|
{%- endif %}
|
2016-04-18 15:57:16 -04:00
|
|
|
{%- if item.stability %}
|
|
|
|
"stability" : "{$ item.stability $}",
|
|
|
|
{%- endif %}
|
2016-05-09 14:22:34 -04:00
|
|
|
{%- if item.security %}
|
|
|
|
"security" : "{$ item.security $}",
|
|
|
|
{%- endif %}
|
2015-09-18 06:59:37 -04:00
|
|
|
"docType": "{$ item.docType $}"
|
2015-09-16 02:21:55 -04:00
|
|
|
}{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor -%}
|
|
|
|
}
|