output an audit file to keep track of documentation progress on API
This commit is contained in:
parent
1e194b1960
commit
cece720f47
|
@ -135,6 +135,12 @@ module.exports = new Package('angular.io', [basePackage, targetPackage, cheatshe
|
|||
pathTemplate: 'api-list.json',
|
||||
outputPathTemplate: '${path}'
|
||||
});
|
||||
|
||||
computePathsProcessor.pathTemplates.push({
|
||||
docTypes: ['api-list-data'],
|
||||
pathTemplate: 'api-list-audit.json',
|
||||
outputPathTemplate: '${path}'
|
||||
});
|
||||
|
||||
computePathsProcessor.pathTemplates.push({
|
||||
docTypes: ['cheatsheet-data'],
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
[{% for module, items in doc.data %}
|
||||
{% for item in items %}
|
||||
{
|
||||
"title": "{$ item.title $}",
|
||||
"path": "{$ item.exportDoc.path $}",
|
||||
"docType": "{$ item.docType $}",
|
||||
"stability": "{$ item.stability $}",
|
||||
"secure": "{$ item.security $}",
|
||||
"howToUse": "{$ item.howToUse $}",
|
||||
"whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %},
|
||||
"barrel" : "{$ module | replace("/index", "") $}"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
]
|
Loading…
Reference in New Issue