lit icon indicating copy to clipboard operation
lit copied to clipboard

LDoc integration

Open ghost opened this issue 10 years ago • 4 comments

LDoc is a documentation generator for Lua. The Lit server could run it on the sources when a new version of a package is published. The docs could then be made directly available from http://luvit.io/lit.html.

ghost avatar Dec 01 '15 19:12 ghost

This is a great idea. Is LDoc the clear winner among the lua community? I don't know.

creationix avatar Dec 02 '15 03:12 creationix

I don't know the statistics, either. But it's a great tool with some enhancements compared to LuaDoc.

ghost avatar Dec 02 '15 10:12 ghost

Hmm, I don't like how it pulls in penlight and luaFileSystem. We'd need to modify it dependencies to use code in luvit instead.

creationix avatar Dec 02 '15 15:12 creationix

Penlight is pure Lua, so it should comparatively easy to package with Lit. LFS can probably be replaced with the Luv FS functions.

ghost avatar Dec 03 '15 09:12 ghost