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

25 lines
641 B
JavaScript
Raw Normal View History

var Package = require('dgeni').Package;
var basePackage = require('../docs-package');
module.exports = new Package('angular-v2-public-docs', [basePackage])
2015-05-15 08:57:38 -04:00
.config(function(readTypeScriptModules) {
readTypeScriptModules.sourceFiles = [
'angular2/lifecycle_hooks.ts',
'angular2/core.ts',
2015-08-20 17:28:25 -04:00
'angular2/http.ts',
'angular2/router.ts',
'angular2/test.ts'
2015-05-15 08:57:38 -04:00
];
readTypeScriptModules.hidePrivateMembers = true;
})
.config(function(getLinkInfo) {
getLinkInfo.useFirstAmbiguousLink = false;
})
// Configure file writing
.config(function(writeFilesProcessor) {
writeFilesProcessor.outputFolder = 'dist/public_docs';
});