Skip to content

Commit b2da297

Browse files
chore(doc-gen): move inline link matching to dgeni-package
1 parent 8b9400a commit b2da297

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/dgeni-package/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ require('../../tools/transpiler/index.js').init();
33
var Package = require('dgeni').Package;
44
var jsdocPackage = require('dgeni-packages/jsdoc');
55
var nunjucksPackage = require('dgeni-packages/nunjucks');
6+
var linksPackage = require('../links-package');
67
var path = require('canonical-path');
78

89
var PARTIAL_PATH = 'partials';
910
var MODULES_DOCS_PATH = PARTIAL_PATH + '/modules';
1011
var GUIDES_PATH = PARTIAL_PATH + '/guides';
1112

1213
// Define the dgeni package for generating the docs
13-
module.exports = new Package('angular', [jsdocPackage, nunjucksPackage])
14+
module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPackage])
1415

1516
// Register the services and file readers
1617
.factory(require('./services/modules'))

docs/public-docs-package/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
var Package = require('dgeni').Package;
22
var basePackage = require('../dgeni-package');
3-
var linksPackage = require('../links-package');
43

5-
module.exports = new Package('angular-public', [basePackage, linksPackage])
4+
module.exports = new Package('angular-public', [basePackage])
65

76
.processor(require('./processors/filterPublicDocs'))
87

0 commit comments

Comments
 (0)