chore(doc-gen): move inline link matching to dgeni-package
This commit is contained in:
parent
8b9400ad92
commit
b2da2978ee
|
@ -3,6 +3,7 @@ require('../../tools/transpiler/index.js').init();
|
||||||
var Package = require('dgeni').Package;
|
var Package = require('dgeni').Package;
|
||||||
var jsdocPackage = require('dgeni-packages/jsdoc');
|
var jsdocPackage = require('dgeni-packages/jsdoc');
|
||||||
var nunjucksPackage = require('dgeni-packages/nunjucks');
|
var nunjucksPackage = require('dgeni-packages/nunjucks');
|
||||||
|
var linksPackage = require('../links-package');
|
||||||
var path = require('canonical-path');
|
var path = require('canonical-path');
|
||||||
|
|
||||||
var PARTIAL_PATH = 'partials';
|
var PARTIAL_PATH = 'partials';
|
||||||
|
@ -10,7 +11,7 @@ var MODULES_DOCS_PATH = PARTIAL_PATH + '/modules';
|
||||||
var GUIDES_PATH = PARTIAL_PATH + '/guides';
|
var GUIDES_PATH = PARTIAL_PATH + '/guides';
|
||||||
|
|
||||||
// Define the dgeni package for generating the docs
|
// 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
|
// Register the services and file readers
|
||||||
.factory(require('./services/modules'))
|
.factory(require('./services/modules'))
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
var Package = require('dgeni').Package;
|
var Package = require('dgeni').Package;
|
||||||
var basePackage = 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'))
|
.processor(require('./processors/filterPublicDocs'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue