Kapacitor- Auto generation of document for UDF


I wanted to know if there is a way to auto-generate documentation for a new UDF, which we have written. For e.g., Batch is an inbuilt-node and has the following documentation:

Any help will be greatly appreciated.


@achandak123 I am not sure why you want to autogenerate docs for your UDF. Can you not simply write the docs for your UDF and host them yourself? Could you clarify what you end goal is in generating the docs?


Thanks for the response. I was looking for something similar to embedding comments in RST format within any code and generate RST documentation from that.