output an audit file to keep track of documentation progress on API
This commit is contained in:
parent
1e194b1960
commit
cece720f47
|
@ -136,6 +136,12 @@ module.exports = new Package('angular.io', [basePackage, targetPackage, cheatshe
|
||||||
outputPathTemplate: '${path}'
|
outputPathTemplate: '${path}'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
computePathsProcessor.pathTemplates.push({
|
||||||
|
docTypes: ['api-list-data'],
|
||||||
|
pathTemplate: 'api-list-audit.json',
|
||||||
|
outputPathTemplate: '${path}'
|
||||||
|
});
|
||||||
|
|
||||||
computePathsProcessor.pathTemplates.push({
|
computePathsProcessor.pathTemplates.push({
|
||||||
docTypes: ['cheatsheet-data'],
|
docTypes: ['cheatsheet-data'],
|
||||||
pathTemplate: '../guide/cheatsheet.json',
|
pathTemplate: '../guide/cheatsheet.json',
|
||||||
|
|
|
@ -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