mirror of https://github.com/Hilbis/Hilbish
fix: list subdocs for hilbish module
parent
b46bd0059e
commit
1a2d29aee7
|
@ -26,8 +26,8 @@ commander.register('doc', function(args)
|
|||
f = io.open(moddocPath .. subdocName .. '.md', 'rb')
|
||||
if not f then
|
||||
moddocPath = moddocPath .. subdocName .. '/'
|
||||
local subsubDocName = args[3] or '_index'
|
||||
f = io.open(moddocPath .. subsubDocName .. '.md', 'rb')
|
||||
subdocName = args[3] or '_index'
|
||||
f = io.open(moddocPath .. subdocName .. '.md', 'rb')
|
||||
end
|
||||
if not f then
|
||||
print('No documentation found for ' .. mod .. '.')
|
||||
|
|
Loading…
Reference in New Issue