issue #66: better error message for non-luadoc behaviour; now controlling backticks in the docs better
Steve Donovan
10 years ago
1 | 1 |
title='LDoc documentation'
|
2 | 2 |
description='A Lua documentation tool'
|
3 | 3 |
format='discount'
|
|
4 |
backtick_references=false
|
4 | 5 |
file='../ldoc.lua'
|
5 | 6 |
dir='../out'
|
6 | 7 |
readme='doc.md'
|
421 | 421 |
|
422 | 422 |
function Item:trailing_warning (kind,tag,rest)
|
423 | 423 |
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)
|
425 | 425 |
end
|
426 | 426 |
end
|
427 | 427 |
|