From 453a3a8f84e5df4fbd39be86d72ca388c6d07e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=88=B1=E7=A0=81=E5=A3=AB?= Date: Wed, 28 Aug 2024 10:07:16 +0800 Subject: [PATCH] chore(docs): correct the file path in the markdown for the GitHub website (#4254) --- docs/.vitepress/config/en.mts | 2 +- docs/.vitepress/config/zh.mts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config/en.mts b/docs/.vitepress/config/en.mts index 6902ee16..811d432e 100644 --- a/docs/.vitepress/config/en.mts +++ b/docs/.vitepress/config/en.mts @@ -13,7 +13,7 @@ export const en = defineConfig({ prev: 'Previous Page', }, editLink: { - pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/:path', + pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/src/:path', text: 'Edit this page on GitHub', }, footer: { diff --git a/docs/.vitepress/config/zh.mts b/docs/.vitepress/config/zh.mts index fcc23bda..7e334ee1 100644 --- a/docs/.vitepress/config/zh.mts +++ b/docs/.vitepress/config/zh.mts @@ -13,7 +13,8 @@ export const zh = defineConfig({ prev: '上一页', }, editLink: { - pattern: 'https://github.com/vbenjs/vue-vben-admin/edit/main/docs/:path', + pattern: + 'https://github.com/vbenjs/vue-vben-admin/edit/main/docs/src/:path', text: '在 GitHub 上编辑此页面', }, footer: {