From b254dade9b3dbdf4714b6d8b729e3a7c0b5bfe2f Mon Sep 17 00:00:00 2001 From: hsjobeki Date: Tue, 31 Oct 2023 11:32:42 +0100 Subject: [PATCH] fix alias links once more --- json-to-md/convert.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-to-md/convert.mjs b/json-to-md/convert.mjs index 7252ff0..ff9f725 100644 --- a/json-to-md/convert.mjs +++ b/json-to-md/convert.mjs @@ -53,7 +53,7 @@ const getAliases = (aliases, path) => { const name = ps.join("."); const title = `${name} ${name.endsWith("'") ? "(Prime)" : ""}`.trim(); const label = ps.join("."); - const target = [PREFIX, "reference", subpath, title.replaceAll(".", "-")] + const target = [PREFIX, "reference", subpath.join("/"), title.replaceAll(".", "-")] .filter(Boolean) .join("/") .toLowerCase();