Hi Thijs

       I think you'd better change to your LUA_PATH before invonking
LuaDoc.  This should produce the correct names.


Hi Tomas,

Sorry I have no idea what you mean. My LUA_PATH is a list of several
paths and I don't understand how this is related to luadoc generating
html listings. Could you please be more specific?
        Well, maybe I missed something :-)
        The names of the files are the names given to LuaDoc, thus if
you want short names you should change to the directory you want to be
the "root" of the files given to LuaDoc.  For example, say you have:

some/src/p1.lua
        /p2.lua
        /sub/p3.lua
            /p4.lua

        If you run LuaDoc from 'some' (cd some; luadoc * -d output),
the files will be named:

src/p1.lua
src/p2.lua
src/sub/p3.lua
src/sub/p4.lua

        But you can cd to 'src' to omit that (cd some/src; luadoc * -d output):

p1.lua
p2.lua
sub/p3.lua
sub/p4.lua

        Regards,
                Tomás
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to