2
3
鏡像自 https://github.com/sammy-ette/Hilbish synced 2025-08-10 02:52:03 +00:00

fix: list subdocs for hilbish module

This commit is contained in:
sammyette 2022-12-20 01:42:58 -04:00
父節點 b46bd0059e
當前提交 1a2d29aee7
簽署人: sammyette
GPG 金鑰 ID: 904FC49417B44DCD

查看文件

@ -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 .. '.')