On Tue, Sep 14, 2010 at 9: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). >
I see your point. A root option would be the correct solution then, yes. Please consider it a feature request... a minor one ;) Cheers, Thijs _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/