One of the pain points of lua is that aside from being hard for the average person, it is also a pain to document. There are no guidelines, and most users seem to focus on documenting how to use the modules rather than how they work.
Perhaps one of the existing libraries would be useful here:
- Lua doc - http://keplerproject.github.io/luadoc/
- Ldoc - https://stevedonovan.github.io/ldoc/
- http://lua-users.org/wiki/ExpLua
- https://github.com/CentauriSoldier/Dox
This would enable automatic documentation like the module section of this page (generated using a lua script and explua), for example:
It is possible to do this in any wiki, but such hacks will always be inferior to built in solutions which could for example parse the docs of all dependent modules and show them in a user friendly way.