On 12 August 2015 at 19:49, Dimitris Papavasiliou <dpapa...@gmail.com> wrote:
> Hi everybody,
>
> So, is there any particular way for distributing manpages with LuaRocks?
>
> I have a module implementing an embeddable REPL, which also distributes
> a binary script to use as an interactive interpreter and it'd be nice if
> I could have a manpage for it (since it's basically a UNIX-only
> command-line tool.  Well, I do have the manpage, but I'm not sure what
> to do with it.  Any ideas?
>
> D.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Docs are currently done by having a magical folder called 'doc'.
luarocks will copy it across when installing; and `luarocks doc
mypackage` will look there for documentation.

I think it only currently supports markdown and html though....
https://github.com/keplerproject/luarocks/blob/066e1c6bd90d2e0e4fcdbc116bd857c62779b4cd/src/luarocks/doc.lua#L105

I'd love to see man pages supported too.

------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to