mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-28 01:10:42 +00:00
fix: list subdocs for hilbish module
This commit is contained in:
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…
x
Reference in New Issue
Block a user