Doxygen support for Lua files. Based on http://www.ctan.org/pkg/lua2dox
In order to use Doxygen for parsing Lua files, perform the following installation steps:
- Install the latest version of Doxygen.
- Install the latest version of Lua.
- Make sure both is in your path by running "doxygen" and "lua" from the command line.
- Get the latest version of lua2dox.lua from the our GitHub page.
- In your Doxygen file, set
EXTENSION_MAPPING = lua=C
FILTER_PATTERNS = *.lua=PATH\TO\lua2dox\lua2dox.lua
Now, running doxygen in a folder with Doxyfile will take every Lua input file, send it through lua2dox.lua, which in turn will convert the file to C-style syntax, which in turn is understood by Doxygen.