module at-references now working! No-contents warning fixed
This commit is contained in:
parent
a8ea31b01d
commit
a7b01abd03
|
@ -73,6 +73,8 @@ function html.generate_output(ldoc, args, project)
|
|||
function ldoc.href(see)
|
||||
if see.href then -- explict reference, e.g. to Lua manual
|
||||
return see.href
|
||||
elseif doc.Module:class_of(see) then
|
||||
return ldoc.ref_to_module(see)
|
||||
else
|
||||
return ldoc.ref_to_module(see.mod)..'#'..see.name
|
||||
end
|
||||
|
|
|
@ -313,7 +313,7 @@ local function parse_file(fname, lang, package, args)
|
|||
add_module(tags,module_found,old_style)
|
||||
tags = nil
|
||||
if not t then
|
||||
F:warning(fname,' contains no items\n','warning',1)
|
||||
F:warning('contains no items','warning',1)
|
||||
break;
|
||||
end -- run out of file!
|
||||
-- if we did bump into a doc comment, then we can continue parsing it
|
||||
|
|
Loading…
Reference in New Issue