diff --git a/docs/dgeni-package/index.js b/docs/dgeni-package/index.js index 20190d223d..367aa9a1ed 100644 --- a/docs/dgeni-package/index.js +++ b/docs/dgeni-package/index.js @@ -3,6 +3,7 @@ require('../../tools/transpiler/index.js').init(); var Package = require('dgeni').Package; var jsdocPackage = require('dgeni-packages/jsdoc'); var nunjucksPackage = require('dgeni-packages/nunjucks'); +var linksPackage = require('../links-package'); var path = require('canonical-path'); var PARTIAL_PATH = 'partials'; @@ -10,7 +11,7 @@ var MODULES_DOCS_PATH = PARTIAL_PATH + '/modules'; var GUIDES_PATH = PARTIAL_PATH + '/guides'; // Define the dgeni package for generating the docs -module.exports = new Package('angular', [jsdocPackage, nunjucksPackage]) +module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPackage]) // Register the services and file readers .factory(require('./services/modules')) diff --git a/docs/public-docs-package/index.js b/docs/public-docs-package/index.js index 60aac499ea..5ddef3edf8 100644 --- a/docs/public-docs-package/index.js +++ b/docs/public-docs-package/index.js @@ -1,8 +1,7 @@ var Package = require('dgeni').Package; var basePackage = require('../dgeni-package'); -var linksPackage = require('../links-package'); -module.exports = new Package('angular-public', [basePackage, linksPackage]) +module.exports = new Package('angular-public', [basePackage]) .processor(require('./processors/filterPublicDocs'))