LDoc is a software documentation tool which automatically generates API documentation out of source code comments (doc comments). It is mainly targeted at Lua and documenting Lua APIs, but it can also parse C with according doc comments for documenting Lua modules implemented in C.
- install LUA 5.4 in your $PATH
lua ldoc.lua .
checkout the Website
lua ldoc.lua --filter dump . > dist/api-declaration.lua
checkout the File