2015-09-16 02:21:55 -04:00
|
|
|
var Package = require('dgeni').Package;
|
|
|
|
|
|
|
|
module.exports = new Package('links', [])
|
|
|
|
|
|
|
|
.factory(require('./inline-tag-defs/link'))
|
2015-09-18 22:51:10 -04:00
|
|
|
.factory(require('./inline-tag-defs/linkDevGuide'))
|
2015-09-17 20:04:58 -04:00
|
|
|
.factory(require('./inline-tag-defs/example'))
|
2015-09-18 22:51:10 -04:00
|
|
|
.factory(require('./inline-tag-defs/exampleTabs'))
|
2015-10-31 16:51:32 -04:00
|
|
|
.factory(require('dgeni-packages/links/services/getAliases'))
|
|
|
|
.factory(require('dgeni-packages/links/services/getDocFromAlias'))
|
2015-09-16 02:21:55 -04:00
|
|
|
.factory(require('./services/getLinkInfo'))
|
2015-09-18 22:51:10 -04:00
|
|
|
.factory(require('./services/parseArgString'))
|
|
|
|
.factory(require('./services/getApiFragmentFileName'))
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-09-18 22:51:10 -04:00
|
|
|
.config(function(inlineTagProcessor, linkInlineTagDef, linkDevGuideInlineTagDef, exampleInlineTagDef, exampleTabsInlineTagDef) {
|
2015-09-16 02:21:55 -04:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkInlineTagDef);
|
2015-09-18 22:51:10 -04:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkDevGuideInlineTagDef);
|
2015-09-17 20:04:58 -04:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleInlineTagDef);
|
2015-09-18 22:51:10 -04:00
|
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleTabsInlineTagDef);
|
2015-09-16 02:21:55 -04:00
|
|
|
});
|