Are there any ad hoc standards or tools for documenting AngularJS directives? We're explicitly building pieces of reusable functionality, so we should be able to get their interfaces across to developers. I've seen a couple of things:
Is there some better method people have found?
Have a look at angular's source, the comments there are what is used to generate the documentation on angular site
a similar approach is used in this grunt plugin: https://github.com/Vertafore/grunt-docular
which is what we use where I work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With