From cbba0215ecb830affaebbdb8df2ff19a7ab805c9 Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Mon, 13 Nov 2023 07:26:52 -0500 Subject: [PATCH] Make mod names in CDB desc hyperlinks to each mod README --- .cdbrelease.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cdbrelease.lua b/.cdbrelease.lua index a437704..309695c 100644 --- a/.cdbrelease.lua +++ b/.cdbrelease.lua @@ -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