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:
Ursprung
b46bd0059e
Commit
1a2d29aee7
@ -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 .. '.')
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren