lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I am not sure if people have heard about RoboDoc [1]. It is a C program and can be customized to generate documentation from comments in any language. I liked it because it had simple concepts and I could use it for my MATLAB, VBA, Lua and C code. I have thought about rewriting it in Lua so it can be easily extended further.



[1] http://rfsber.home.xs4all.nl/Robo/

On Thu, Jan 12, 2017 at 8:52 AM, Tom Sutcliffe <tomsci@me.com> wrote:
> On 17 Dec 2016, at 8:00 pm, Stefan Falk <falk.stefan@gmx.at> wrote:
>
> Does anybody know: Is there something like doxygen for Lua?
>
> I am looking for a tool to quickly build a documentation site from Lua source code that does not require to compile it or install anything else.

I rolled my own based on markdown.lua to generate HTML docs from inline Lua and C source comments and .md files, although it's somewhat reliant on the custom build system the project uses. With some hacking it might be useful:

https://github.com/tomsci/lupi/blob/master/build/doc/buildconfig.lua#L215

Cheers,

Tom