mirror of https://github.com/Hilbis/Hilbish
fix: remove index subdoc (resolves #84)
parent
bfc141f655
commit
3421f286f2
|
@ -75,7 +75,8 @@ These are the global Hilbish functions that are always available and not part of
|
|||
return
|
||||
end
|
||||
funcdocs = f:read '*a'
|
||||
local subdocs = table.map(fs.readdir(moddocPath), function(fname)
|
||||
local moddocs = table.filter(fs.readdir(moddocPath), function(f) return f ~= 'index.txt' end)
|
||||
local subdocs = table.map(moddocs, function(fname)
|
||||
return lunacolors.underline(lunacolors.blue(string.gsub(fname, '.txt', '')))
|
||||
end)
|
||||
if subdocName == 'index' then
|
||||
|
|
Loading…
Reference in New Issue