dgeni icon indicating copy to clipboard operation
dgeni copied to clipboard

Multiple pipelines

Open gampleman opened this issue 11 years ago • 2 comments

When using dgeni we currently process two distinct types of documents: js code with jsdoc style tags and bower.json files (we use those to create a Dependencies index page where you can see links to the documentation of all the projects we use).

Currently we kind of hacked that capability in (by simulating the output of jsdoc for the JSON files). But really we would want different kind of pipelines that would converge at some point. So we would want something like this:

read js files ---- process jsdoc tags -
                                        \
                                         >--- render templates --- write files
                                        /
read json files --- process info -------

gampleman avatar Nov 25 '14 11:11 gampleman

Yes. I have been thinking like this too. Not sure what the best app would be. Any thoughts?

petebacondarwin avatar Nov 25 '14 22:11 petebacondarwin

Perhaps a $runInPipeline property for processors in addition to $runBefore et al? Then dgeni would construct a directed graph satisfying those constraints?

gampleman avatar Nov 26 '14 12:11 gampleman