file={'.'} in config.d caused module name failure; docs->doc
This commit is contained in:
parent
6d22818ec9
commit
42429e694c
14
config.ld
14
config.ld
|
@ -1,7 +1,7 @@
|
|||
project='LDoc'
|
||||
title='LDoc documentation'
|
||||
description='A Lua documentation tool'
|
||||
format='discount'
|
||||
file='ldoc.lua'
|
||||
dir='out'
|
||||
readme='docs/doc.md'
|
||||
project='LDoc'
|
||||
title='LDoc documentation'
|
||||
description='A Lua documentation tool'
|
||||
format='discount'
|
||||
file='ldoc.lua'
|
||||
dir='out'
|
||||
readme='doc/doc.md'
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
project='LDoc'
|
||||
title='LDoc documentation'
|
||||
description='A Lua documentation tool'
|
||||
format='discount'
|
||||
file='../ldoc.lua'
|
||||
dir='../out'
|
||||
readme='doc.md'
|
1
ldoc.lua
1
ldoc.lua
|
@ -301,6 +301,7 @@ end
|
|||
if type(source_dir) == 'string' and path.isfile(source_dir) then
|
||||
source_dir = path.splitpath(source_dir)
|
||||
end
|
||||
source_dir = source_dir:gsub('[/\\]%.$','')
|
||||
|
||||
---------- specifying the package for inferring module names --------
|
||||
-- If you use module(...), or forget to explicitly use @module, then
|
||||
|
|
Loading…
Reference in New Issue