2015-11-03 11:41:38 -05:00
|
|
|
{
|
|
|
|
{%- for module, items in doc.data %}
|
2016-05-12 10:21:21 -04:00
|
|
|
"{$ module | replace("/index", "") $}" : [{% for item in items %}
|
2015-11-03 11:41:38 -05:00
|
|
|
{
|
|
|
|
"title": "{$ item.title $}",
|
|
|
|
"path": "{$ item.exportDoc.path $}",
|
2016-05-11 15:07:51 -04:00
|
|
|
"docType": "{$ item.docType $}",
|
|
|
|
"stability": "{$ item.stability $}",
|
|
|
|
"secure": "{$ item.security $}",
|
2016-05-12 10:21:21 -04:00
|
|
|
"barrel" : "{$ module | replace("/index", "") $}"
|
2015-11-03 11:41:38 -05:00
|
|
|
}{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}]{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor -%}
|
|
|
|
}
|