Procházet zdrojové kódy

chore(docs): correct the file path in the markdown for the GitHub website (#4254)

前端爱码士 před 8 měsíci
rodič
revize
453a3a8f84
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 1 1
      docs/.vitepress/config/en.mts
  2. 2 1
      docs/.vitepress/config/zh.mts

+ 1 - 1
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: {

+ 2 - 1
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: {