2017-01-26 09:03:53 -05:00
|
|
|
var Package = require('dgeni').Package;
|
|
|
|
var jsdocPackage = require('dgeni-packages/jsdoc');
|
|
|
|
|
|
|
|
module.exports =
|
|
|
|
new Package('links', [jsdocPackage])
|
|
|
|
|
|
|
|
.factory(require('./inline-tag-defs/link'))
|
|
|
|
.factory(require('./services/getAliases'))
|
|
|
|
.factory(require('./services/getDocFromAlias'))
|
|
|
|
.factory(require('./services/getLinkInfo'))
|
2018-05-18 07:08:00 -04:00
|
|
|
.factory(require('./services/disambiguators/disambiguateByContainer'))
|
2018-02-28 09:52:29 -05:00
|
|
|
.factory(require('./services/disambiguators/disambiguateByDeprecated'))
|
|
|
|
.factory(require('./services/disambiguators/disambiguateByModule'))
|
2018-05-18 07:08:00 -04:00
|
|
|
.factory(require('./services/disambiguators/disambiguateByNonMember'))
|
2017-01-26 09:03:53 -05:00
|
|
|
|
|
|
|
.config(function(inlineTagProcessor, linkInlineTagDef) {
|
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkInlineTagDef);
|
|
|
|
})
|
|
|
|
|
2018-05-18 07:08:00 -04:00
|
|
|
.config(function(getDocFromAlias, disambiguateByContainer, disambiguateByDeprecated, disambiguateByModule, disambiguateByNonMember) {
|
2018-02-28 09:52:29 -05:00
|
|
|
getDocFromAlias.disambiguators = [
|
2018-05-18 07:08:00 -04:00
|
|
|
disambiguateByContainer,
|
2018-02-28 09:52:29 -05:00
|
|
|
disambiguateByDeprecated,
|
2018-05-18 07:08:00 -04:00
|
|
|
disambiguateByModule,
|
|
|
|
disambiguateByNonMember,
|
2018-02-28 09:52:29 -05:00
|
|
|
];
|
2017-01-26 09:03:53 -05:00
|
|
|
});
|