diff --git a/doc/config.ld b/doc/config.ld index aacd86a..f0ac5f3 100644 --- a/doc/config.ld +++ b/doc/config.ld @@ -2,6 +2,7 @@ project='LDoc' title='LDoc documentation' description='A Lua documentation tool' format='discount' +backtick_references=false file='../ldoc.lua' dir='../out' readme='doc.md' diff --git a/ldoc/doc.lua b/ldoc/doc.lua index e0495ac..884b8cc 100644 --- a/ldoc/doc.lua +++ b/ldoc/doc.lua @@ -422,7 +422,7 @@ end function Item:trailing_warning (kind,tag,rest) if type(rest)=='string' and #rest > 0 then - Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use no_luadoc=true\n'..rest) + Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use not_luadoc=true if you want description to continue between tags\n'..rest) end end