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-08-14 13:03:45 -04:00
|
|
|
'angular2/metadata.ts',
|
2015-05-15 08:57:38 -04:00
|
|
|
'angular2/change_detection.ts',
|
2015-06-02 00:36:06 -04:00
|
|
|
'angular2/core.ts',
|
2015-05-15 08:57:38 -04:00
|
|
|
'angular2/di.ts',
|
2015-06-02 00:36:06 -04:00
|
|
|
'angular2/directives.ts',
|
2015-08-20 17:28:25 -04:00
|
|
|
'angular2/http.ts',
|
2015-06-02 00:36:06 -04:00
|
|
|
'angular2/forms.ts',
|
2015-06-09 18:18:57 -04:00
|
|
|
'angular2/router.ts',
|
2015-06-02 00:36:06 -04:00
|
|
|
'angular2/test.ts',
|
|
|
|
'angular2/pipes.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
|
|
|
});
|