feat: 文档底部添加 Edit Link
This commit is contained in:
@@ -22,7 +22,7 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
title: "就这么弄",
|
title: "就这么弄 (🚧 施工中)",
|
||||||
description: "简单步骤与实用技巧",
|
description: "简单步骤与实用技巧",
|
||||||
|
|
||||||
base: '/tutorials/',
|
base: '/tutorials/',
|
||||||
@@ -43,6 +43,10 @@ export default defineConfig({
|
|||||||
|
|
||||||
sidebar: sidebar,
|
sidebar: sidebar,
|
||||||
|
|
||||||
|
editLink: {
|
||||||
|
pattern: 'https://github.com/coder-xiaomo/tutorials/edit/main/docs/:path'
|
||||||
|
},
|
||||||
|
|
||||||
socialLinks: [
|
socialLinks: [
|
||||||
// { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
// { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user