How to use the dgeni.Config function in dgeni

To help you get started, we’ve selected a few dgeni examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github angular / dgeni-packages / jsdoc / spec / processors / tagDefinitions.spec.js View on Github external
it("should extract the tagDefinitions from the config", function() {
    var tagDef1 = { name: 'tagDef1' };
    var tagDef2 = { name: 'tagDef2' };

    var config = new Config({
      processing: {
        tagDefinitions: [ tagDef1, tagDef2 ]
      }
    });

    var tagDefinitions = tagDefinitionsProcessor.exports.tagDefinitions[1](config);
    expect(tagDefinitions).toEqual([ tagDef1, tagDef2 ]);
  });
github angular / dgeni-packages / jsdoc / spec / processors / tag-parser.spec.js View on Github external
beforeEach(function() {
    config = new Config();
    config.set('processing.tagDefinitions', [
      { name: 'ngdoc' },
      { name: 'description' },
      { name: 'param', canHaveName: true, canHaveType: true }
    ]);
  });

dgeni

Flexible JavaScript documentation generator used by both AngularJS and Angular

MIT
Latest version published 4 years ago

Package Health Score

60 / 100
Full package analysis