2015-03-17 12:49:07 -04:00
|
|
|
var Package = require('dgeni').Package;
|
2015-07-11 02:21:21 -04:00
|
|
|
var basePackage = require('../docs-package');
|
2015-03-17 12:49:07 -04:00
|
|
|
|
2015-07-11 02:21:21 -04:00
|
|
|
module.exports = new Package('angular-v2-public-docs', [basePackage])
|
2015-03-17 12:49:07 -04:00
|
|
|
|
2015-05-15 08:57:38 -04:00
|
|
|
.config(function(readTypeScriptModules) {
|
|
|
|
readTypeScriptModules.sourceFiles = [
|
2015-09-02 19:43:39 -04:00
|
|
|
'angular2/lifecycle_hooks.ts',
|
2015-06-02 00:36:06 -04:00
|
|
|
'angular2/core.ts',
|
2015-08-20 17:28:25 -04:00
|
|
|
'angular2/http.ts',
|
2015-06-09 18:18:57 -04:00
|
|
|
'angular2/router.ts',
|
2015-09-04 01:01:36 -04:00
|
|
|
'angular2/test.ts'
|
2015-05-15 08:57:38 -04:00
|
|
|
];
|
|
|
|
readTypeScriptModules.hidePrivateMembers = true;
|
|
|
|
})
|
|
|
|
|
|
|
|
.config(function(getLinkInfo) {
|
|
|
|
getLinkInfo.useFirstAmbiguousLink = false;
|
|
|
|
})
|
|
|
|
|
2015-03-17 12:49:07 -04:00
|
|
|
// Configure file writing
|
|
|
|
.config(function(writeFilesProcessor) {
|
|
|
|
writeFilesProcessor.outputFolder = 'dist/public_docs';
|
2015-06-02 00:36:06 -04:00
|
|
|
});
|