21 lines
969 B
JavaScript
21 lines
969 B
JavaScript
var Package = require('dgeni').Package;
|
|
|
|
module.exports = new Package('links', [])
|
|
|
|
.factory(require('./inline-tag-defs/link'))
|
|
.factory(require('./inline-tag-defs/linkDevGuide'))
|
|
.factory(require('./inline-tag-defs/example'))
|
|
.factory(require('./inline-tag-defs/exampleTabs'))
|
|
.factory(require('dgeni-packages/links/services/getAliases'))
|
|
.factory(require('dgeni-packages/links/services/getDocFromAlias'))
|
|
.factory(require('./services/getLinkInfo'))
|
|
.factory(require('./services/parseArgString'))
|
|
.factory(require('./services/getApiFragmentFileName'))
|
|
|
|
.config(function(inlineTagProcessor, linkInlineTagDef, linkDevGuideInlineTagDef, exampleInlineTagDef, exampleTabsInlineTagDef) {
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkInlineTagDef);
|
|
inlineTagProcessor.inlineTagDefinitions.push(linkDevGuideInlineTagDef);
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleInlineTagDef);
|
|
inlineTagProcessor.inlineTagDefinitions.push(exampleTabsInlineTagDef);
|
|
});
|