feat(docs-infra): generate Angular CLI command reference (#25363)

PR Close #25363
This commit is contained in:
Pete Bacon Darwin
2018-09-14 10:05:57 +01:00
committed by Kara Erickson
parent 39a67548ac
commit f29b218060
28 changed files with 965 additions and 15 deletions

View File

@ -0,0 +1,11 @@
module.exports = function processCliContainerDoc() {
return {
$runAfter: ['extra-docs-added'],
$runBefore: ['rendering-docs'],
$process(docs) {
const cliDoc = docs.find(doc => doc.id === 'cli/index');
cliDoc.id = 'cli-container';
cliDoc.commands = docs.filter(doc => doc.docType === 'cli-command');
}
};
};