Or any other static .ngdocs. I'm generating my docs using the API with this script:
require('dgeni-packages/examples');
var path = require('path');
var docgen = require('dgeni-alive/src/docgen')();
var Package = require('dgeni').Package;
var packages = [
require('dgeni-packages/ngdoc'),
require('dgeni-packages/nunjucks'),
require('dgeni-packages/examples'),
require('dgeni-alive/src/packages/jsdoc-ext'),
require('dgeni-alive/src/packages/ngdoc-ext'),
require('dgeni-alive/src/packages/links-ext'),
require('dgeni-alive/src/packages/examples-ext')
// require('dgeni-packages/git')
];
docgen.Package(new Package('Product Console', packages))
.config(function(log) {
log.level = 'info';
})
.config(function(generateExamplesProcessor, generateProtractorTestsProcessor) {
var deployments = [
{ name: 'default' }
];
generateExamplesProcessor.deployments = deployments;
generateProtractorTestsProcessor.deployments = deployments;
});
docgen.src(['client/src/app/**/*.js'])
.dest('jsdocs/')
.generate().then(function() {
console.log("I'm done!");
});
and I'm getting this output:
info: running processor: readFilesProcessor
info: running processor: extractJSDocCommentsProcessor
info: running processor: parseExamplesProcessor
info: running processor: parseTagsProcessor
info: running processor: filterNgDocsProcessor
info: running processor: extractTagsProcessor
info: running processor: codeNameProcessor
info: running processor: exampleDependenciesBuilder
info: running processor: generateExamplesProcessor
info: running processor: generateProtractorTestsProcessor
info: running processor: computeIdsProcessor
info: running processor: memberDocsProcessor
info: running processor: moduleDocsProcessor
info: running processor: generateErrorsGroupArea
info: running processor: generateComponentGroupsProcessor
info: running processor: providerDocsProcessor
info: running processor: collectKnownIssuesProcessor
info: running processor: computePathsProcessor
info: running processor: generateConfigProcessor
info: running processor: generateNavigationProcessor
warn: No index document found for "api"
Create api/index.ngdoc file in the documents area with template
===================
@ngdoc overview
@name index
@area api
@description Module Overview
info: running processor: structuredParamProcessor
info: running processor: generateWebsite
info: running processor: renderDocsProcessor
info: running processor: unescapeCommentsProcessor
info: running processor: inlineTagProcessor
info: running processor: generateIndexProcessor
info: running processor: embedImages
info: running processor: writeFilesProcessor
info: running processor: checkAnchorLinksProcessor
I'm done!
Looks as though I need to create an api/index.ngdoc file somewhere but I'm not totally clear where? I'm assuming I can create this kind of thing in my project and point dgeni-alive at it?
Like many others I feel I'm more than a little in the dark as to exactly how dgeni wants to work...
Or any other static .ngdocs. I'm generating my docs using the API with this script:
and I'm getting this output:
Looks as though I need to create an api/index.ngdoc file somewhere but I'm not totally clear where? I'm assuming I can create this kind of thing in my project and point dgeni-alive at it?
Like many others I feel I'm more than a little in the dark as to exactly how dgeni wants to work...