bump version to 1.3.8 in usage; ignore empty docstrings (Dirk bug)
steve donovan
11 years ago
244 | 244 |
local item_follows, tags, is_local, case
|
245 | 245 |
if ldoc_comment then
|
246 | 246 |
comment = table.concat(comment)
|
247 | |
|
|
247 |
if comment:match '^%s*$' then
|
|
248 |
ldoc_comment = nil
|
|
249 |
end
|
|
250 |
end
|
|
251 |
if ldoc_comment then
|
248 | 252 |
if first_comment then
|
249 | 253 |
first_comment = false
|
250 | 254 |
else
|
6 | 6 |
--
|
7 | 7 |
-- C/C++ support for Lua extensions is provided.
|
8 | 8 |
--
|
9 | |
-- Available from LuaRocks as 'ldoc' and as a [Zip file](http://stevedonovan.github.com/files/ldoc-1.3.0.zip)
|
|
9 |
-- Available from LuaRocks as 'ldoc' and as a [Zip file](http://stevedonovan.github.com/files/ldoc-1.3.8.zip)
|
10 | 10 |
--
|
11 | 11 |
-- [Github Page](https://github.com/stevedonovan/ldoc)
|
12 | 12 |
--
|
|
34 | 34 |
|
35 | 35 |
--- @usage
|
36 | 36 |
local usage = [[
|
37 | |
ldoc, a documentation generator for Lua, vs 1.3.1
|
|
37 |
ldoc, a documentation generator for Lua, vs 1.3.8
|
38 | 38 |
-d,--dir (default docs) output directory
|
39 | 39 |
-o,--output (default 'index') output name
|
40 | 40 |
-v,--verbose verbose
|