mirror of https://github.com/Hilbis/Hilbish
chore: rename f to fname in subdoc map (doesnt redefine f)
parent
3d36786cc7
commit
284d4e01a3
|
@ -72,8 +72,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(f)
|
||||
return lunacolors.underline(lunacolors.blue(string.gsub(f, '.txt', '')))
|
||||
local subdocs = table.map(fs.readdir(moddocPath), function(fname)
|
||||
return lunacolors.underline(lunacolors.blue(string.gsub(fname, '.txt', '')))
|
||||
end)
|
||||
if subdocName == 'index' then
|
||||
funcdocs = funcdocs .. '\nSubdocs: ' .. table.concat(subdocs, ', ')
|
||||
|
|
Loading…
Reference in New Issue