Inline references are now @{ref}, not <ref>
This commit is contained in:
parent
c727f0106c
commit
4d718d3e86
|
@ -40,7 +40,7 @@ end
|
||||||
|
|
||||||
-- inline <references> use same lookup as @see
|
-- inline <references> use same lookup as @see
|
||||||
function markup.resolve_inline_references (ldoc, txt)
|
function markup.resolve_inline_references (ldoc, txt)
|
||||||
return (txt:gsub('<([%w_%.]-)>',function(name)
|
return (txt:gsub('@{([%w_%.]-)}',function(name)
|
||||||
local ref,err = ldoc.module:process_see_reference(name,ldoc.modules)
|
local ref,err = ldoc.module:process_see_reference(name,ldoc.modules)
|
||||||
if not ref then
|
if not ref then
|
||||||
if ldoc.item then ldoc.item:warning(err)
|
if ldoc.item then ldoc.item:warning(err)
|
||||||
|
|
Loading…
Reference in New Issue