How to generate our code documentation with dgeni



There is a big lack of documentation on how to use Dgeni. I know Ionic itself uses it.
I tried to create a gulp task based on this repo github without success (got errors like Error: Cannot find module 'dgeni-packages/angularjs')

Does anyone try to document successfully his Ionic code with dgeni?

1 Like

So there are two resources you could use

And this example project by Pete Bacon Darwin

1 Like

The code he uses is from the angular example, which throws the same exception. So this is to no help.


I’m also interested in generating doc from my project source code like ionic.

After reading some source, finally I found the official ionic site doc generator for the ionic source at here:

I’m studying on it, hope it will also be helpful for you.