From 49a7488147ce41342a7eea079232121dec26c27f Mon Sep 17 00:00:00 2001 From: Nikhil Kumar Rajak Date: Tue, 28 Jul 2026 17:46:19 +0000 Subject: [PATCH 1/2] fix(url): normalize the Options link --- plugins/processor/site.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/processor/site.mjs b/plugins/processor/site.mjs index 4f8e1008..638aba73 100644 --- a/plugins/processor/site.mjs +++ b/plugins/processor/site.mjs @@ -67,7 +67,7 @@ export const sidebar = (router, basePath) => { items: [ ...[...categories.values()].filter(category => category.items.length), { - link: `${basePath}/options`, + link: toPublicLink('options', basePath), label: 'Options', }, ], From d853a89fd51f1440b64e0512d334ff5835a6af6e Mon Sep 17 00:00:00 2001 From: Mohamed Shams El-Deen Date: Tue, 28 Jul 2026 23:09:19 +0300 Subject: [PATCH 2/2] chore: normalize loader & plugins links --- scripts/markdown/readmes.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/markdown/readmes.mjs b/scripts/markdown/readmes.mjs index 8a29aebf..6269716a 100644 --- a/scripts/markdown/readmes.mjs +++ b/scripts/markdown/readmes.mjs @@ -2,6 +2,7 @@ import { mkdir, writeFile } from 'node:fs/promises'; import { join } from 'node:path'; import { fetchWithRetry } from '../utils/fetch.mjs'; import cleanupMarkdown from './sanitize.mjs'; +import { toPublicLink } from '../../utils/helpers/urls.mjs'; const { GH_TOKEN } = process.env; @@ -77,7 +78,7 @@ const processRepos = async (repos, { label, basePath, outputDir }) => { label: 'Overview', }, ...fetched.map(name => ({ - link: `${basePath}/${name}`, + link: toPublicLink(name, basePath), label: name.replace(/-(?:webpack-)?(?:loader|plugin)$/, ''), })), ],