fix ngModule tag, api-list and json encoding

This commit is contained in:
Igor Minar 2016-09-14 14:56:39 -07:00 committed by Naomi Black
parent d64cb11635
commit 7ed5d08af2
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,5 @@
module.exports = function() {
return {
name: 'ngModule',
multi: true
name: 'ngModule'
};
};

View File

@ -7,8 +7,6 @@
"docType": "{$ item.docType $}",
"stability": "{$ item.stability $}",
"secure": "{$ item.security $}",
"howToUse": "{$ item.howToUse | replace('"','\\"') $}",
"whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %},
"barrel" : "{$ module | replace("/index", "") $}"
}{% if not loop.last %},{% endif %}
{% endfor %}]{% if not loop.last %},{% endif %}

View File

@ -0,0 +1,5 @@
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
div(flex="20" flex-xs="100")
h2(class="h2-api-docs") NgModule
div(class="code-links" flex="80" flex-xs="100").
{$ doc.ngModule $}

View File

@ -13,6 +13,8 @@ include {$ relativePath(doc.path, '_util-fns') $}
{% include "layout/_how-to-use.html" %}
{% include "layout/_ng-module.html" %}
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
div(flex="20" flex-xs="100")
h2(class="h2-api-docs") Description