6f6e83722e
- add warning when bad example tag is encountered. - shredding for api docs + refactoring of gulpfile to clarify task names. - added top level gulp tasks + error handling cleanup - added test-api-builder gulp task - added warning messages during build-shred-map processing - mixin signature change - updated styleguide ... continued. - added @exampleTabs inlinetag support + refactoring shared services between @example and @exampleTabs - added new inline tag @linkDevGuide + cleanup - added angular source watch logic for serve-and-sync and source for examples changed from test -> examples + cleanup - promisify del - styleguide explanation of @example, @exampleTabs and @linkDevGuide
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/ngdoc/services/getAliases'))
|
|
.factory(require('dgeni-packages/ngdoc/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);
|
|
});
|