Codebase list lua-ldoc / 80a109e
issue #66: better error message for non-luadoc behaviour; now controlling backticks in the docs better Steve Donovan 10 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11 title='LDoc documentation'
22 description='A Lua documentation tool'
33 format='discount'
4 backtick_references=false
45 file='../ldoc.lua'
56 dir='../out'
67 readme='doc.md'
421421
422422 function Item:trailing_warning (kind,tag,rest)
423423 if type(rest)=='string' and #rest > 0 then
424 Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use no_luadoc=true\n'..rest)
424 Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use not_luadoc=true if you want description to continue between tags\n'..rest)
425425 end
426426 end
427427