In my own lua documentation module, I use an installation directory variable to make every path relative, which is the --root option I guess. wes
On Tue, Sep 14, 2010 at 12:40 PM, Tomas Guisasola Gorham <to...@tecgraf.puc-rio.br> wrote: > Hi Thijs > >> Wouldn't it make sense to have luadoc take the root argument of its >> source files as the basis from where it generates the filenames? >> >> So if you invoke: >> $ luadoc /some/absolute/path/* >> >> it lists an exiting file like >> /some/absolute/path/mymodule/file1.lua >> >> as >> mymodule/file1.lua >> >> ? > > But how LuaDoc would know what directories are relevant? > Say you corrected mymodule/sub/file2.lua and would like to regenerate > the doc of just this file? I think a better solution would be to add > an extra argument to say that (like --root=/some/absolute/path, in > your example). > > 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/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/