Fixed Issue 301
This commit is contained in:
parent
f91c3182cf
commit
e677dc1121
|
@ -164,11 +164,13 @@ function html.generate_output(ldoc, args, project)
|
|||
-- these references are never from the index...?
|
||||
function ldoc.source_ref (fun)
|
||||
local modname = fun.module.name
|
||||
local path, ext
|
||||
path, ext = tools.split_dotted_name(fun.module.file.filename)
|
||||
local pack,name = tools.split_dotted_name(modname)
|
||||
if not pack then
|
||||
name = modname
|
||||
end
|
||||
return (ldoc.single and "" or "../").."source/"..name..'.lua.html#'..fun.lineno
|
||||
return (ldoc.single and "" or "../").."source/"..name..'.'..ext..'.html#'..fun.lineno
|
||||
end
|
||||
|
||||
function ldoc.use_li(ls)
|
||||
|
|
Loading…
Reference in New Issue