2
3
Mirror von https://github.com/sammy-ette/Hilbish synchronisiert 2025-08-10 02:52:03 +00:00

fix: list subdocs for hilbish module

Dieser Commit ist enthalten in:
sammyette 2022-12-20 01:42:58 -04:00
Ursprung b46bd0059e
Commit 1a2d29aee7
Signiert von: sammyette
GPG-Schlüssel-ID: 904FC49417B44DCD

Datei anzeigen

@ -26,8 +26,8 @@ commander.register('doc', function(args)
f = io.open(moddocPath .. subdocName .. '.md', 'rb') f = io.open(moddocPath .. subdocName .. '.md', 'rb')
if not f then if not f then
moddocPath = moddocPath .. subdocName .. '/' moddocPath = moddocPath .. subdocName .. '/'
local subsubDocName = args[3] or '_index' subdocName = args[3] or '_index'
f = io.open(moddocPath .. subsubDocName .. '.md', 'rb') f = io.open(moddocPath .. subdocName .. '.md', 'rb')
end end
if not f then if not f then
print('No documentation found for ' .. mod .. '.') print('No documentation found for ' .. mod .. '.')