2015-09-15 23:21:55 -07:00
|
|
|
var Package = require('dgeni').Package;
|
|
|
|
|
|
|
|
module.exports = new Package('links', [])
|
|
|
|
|
|
|
|
.factory(require('./inline-tag-defs/link'))
|
2016-07-07 21:35:40 -07:00
|
|
|
.factory(require('./inline-tag-defs/linkDocs'))
|
2015-09-17 17:04:58 -07:00
|
|
|
.factory(require('./inline-tag-defs/example'))
|
2015-09-18 19:51:10 -07:00
|
|
|
.factory(require('./inline-tag-defs/exampleTabs'))
|
2015-10-31 20:51:32 +00:00
|
|
|
.factory(require('dgeni-packages/links/services/getAliases'))
|
|
|
|
.factory(require('dgeni-packages/links/services/getDocFromAlias'))
|
2015-09-15 23:21:55 -07:00
|
|
|
.factory(require('./services/getLinkInfo'))
|
2015-09-18 19:51:10 -07:00
|
|
|
.factory(require('./services/parseArgString'))
|
2016-07-08 11:02:08 +01:00
|
|
|
.factory(require('./services/moduleScopeLinkDisambiguator'))
|
|
|
|
.factory(require('./services/deprecatedDocsLinkDisambiguator'))
|
2015-09-18 19:51:10 -07:00
|
|
|
.factory(require('./services/getApiFragmentFileName'))
|
2015-09-15 23:21:55 -07:00
|
|
|
|
2016-07-07 21:35:40 -07:00
|
|
|
.config(function(inlineTagProcessor, linkInlineTagDef, linkDocsInlineTagDef, exampleInlineTagDef, exampleTabsInlineTagDef) {
|
2015-09-15 23:21:55 -07:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkInlineTagDef);
|
2016-07-07 21:35:40 -07:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkDocsInlineTagDef);
|
2015-09-17 17:04:58 -07:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleInlineTagDef);
|
2015-09-18 19:51:10 -07:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleTabsInlineTagDef);
|
2016-07-08 11:02:08 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
.config(function(getLinkInfo, moduleScopeLinkDisambiguator, deprecatedDocsLinkDisambiguator) {
|
|
|
|
getLinkInfo.disambiguators.push(moduleScopeLinkDisambiguator);
|
|
|
|
getLinkInfo.disambiguators.push(deprecatedDocsLinkDisambiguator);
|
2015-09-15 23:21:55 -07:00
|
|
|
});
|