How to use the dgeni/lib/util/dependency-sort.sortByDependency 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 / dgeni / processors / computeProcessorPipeline.js View on Github external
docs.forEach(function(doc) {
        if (doc.docType === 'dgPackage') {
          var processors = collectProcessors(doc);
          doc.pipeline = sortByDependency(processors, '$runAfter', '$runBefore');
        }
      });
    }

dgeni

Flexible JavaScript documentation generator used by both AngularJS and Angular

MIT
Latest version published 4 years ago

Package Health Score

54 / 100
Full package analysis