From b8df406657e97738477a1a6f46b58f5d555bc3d3 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 8 Dec 2023 19:59:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20createSidebar=20=E6=97=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/markdown/createSidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vuepress/markdown/createSidebar.js b/docs/.vuepress/markdown/createSidebar.js index 10c5654f..ca5ac691 100644 --- a/docs/.vuepress/markdown/createSidebar.js +++ b/docs/.vuepress/markdown/createSidebar.js @@ -46,7 +46,7 @@ function parseBar(tab, file, options) { } } - link = path.join('/', link.replace(/\.md\b/, '') + link = path.join('/', link.replace(/\.md\b/, '.html') .replace(/\bREADME\b/, '') .replace(/\/index/, '/') .replace(/\?id=/, '#')) -- GitLab