Board Thread:Lua Help/@comment-3134670-20160314150455/@comment-24473195-20160314173924

You can put documentation wherever you want, but generally it would be stored in the template, e.g.:

> Module:Numbers

>Template:Numbers

>Template:Numbers/doc

All contents is the module namespace is treated as lua code.