Make mod names in CDB desc hyperlinks to each mod README
This commit is contained in:
parent
feb8ae08c8
commit
cbba0215ec
@ -67,7 +67,8 @@ local function scanmods(reqsock)
|
||||
if reqsock == exist(m .. "/.requires-luasockets") then
|
||||
local conf = readtext(m .. "/mod.conf")
|
||||
local desc = string_match(conf, "description%s*=%s*(.-)\n")
|
||||
parts[#parts + 1] = "- `" .. m .. "`: " .. desc
|
||||
parts[#parts + 1] = "- [" .. m .. "](https://gitlab.com/sztest/szutilpack/-/blob/master/"
|
||||
.. m .. "/README): " .. desc
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user