angular-cn/docs/public-docs-package/index.js

30 lines
775 B
JavaScript

var Package = require('dgeni').Package;
var basePackage = require('../docs-package');
module.exports = new Package('angular-v2-public-docs', [basePackage])
.config(function(readTypeScriptModules) {
readTypeScriptModules.sourceFiles = [
'angular2/annotations.ts',
'angular2/change_detection.ts',
'angular2/core.ts',
'angular2/di.ts',
'angular2/directives.ts',
'angular2/http.ts',
'angular2/forms.ts',
'angular2/router.ts',
'angular2/test.ts',
'angular2/pipes.ts'
];
readTypeScriptModules.hidePrivateMembers = true;
})
.config(function(getLinkInfo) {
getLinkInfo.useFirstAmbiguousLink = false;
})
// Configure file writing
.config(function(writeFilesProcessor) {
writeFilesProcessor.outputFolder = 'dist/public_docs';
});