Browse Source

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

pull/4258/head
前端爱码士 2 years ago
committed by GitHub
parent
commit
453a3a8f84
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/.vitepress/config/en.mts
  2. 3
      docs/.vitepress/config/zh.mts

2
docs/.vitepress/config/en.mts

@ -13,7 +13,7 @@ export const en = defineConfig({
prev: 'Previous Page', prev: 'Previous Page',
}, },
editLink: { 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', text: 'Edit this page on GitHub',
}, },
footer: { footer: {

3
docs/.vitepress/config/zh.mts

@ -13,7 +13,8 @@ export const zh = defineConfig({
prev: '上一页', prev: '上一页',
}, },
editLink: { 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 上编辑此页面', text: '在 GitHub 上编辑此页面',
}, },
footer: { footer: {

Loading…
Cancel
Save