diff --git a/docs/.vitepress/en.ts b/docs/.vitepress/en.ts index 688f0f11..000729e3 100644 --- a/docs/.vitepress/en.ts +++ b/docs/.vitepress/en.ts @@ -23,6 +23,10 @@ export const en= defineConfig({ themeConfig: { nav: nav(), sidebar: sidebar(), + editLink: { + pattern: 'https://github.com/version-fox/vfox/edit/main/docs/:path', + text: 'Edit this page on GitHub' + }, footer: { message: 'Released under the Apache 2.0 License.', copyright: 'Copyright © 2023-present Han Li' diff --git a/docs/.vitepress/zh.ts b/docs/.vitepress/zh.ts index ff652778..b7d52464 100644 --- a/docs/.vitepress/zh.ts +++ b/docs/.vitepress/zh.ts @@ -23,10 +23,22 @@ export const zh = defineConfig({ themeConfig: { nav: nav(), sidebar: sidebar(), + editLink: { + pattern: 'https://github.com/version-fox/vfox/edit/main/docs/:path', + text: '在 GitHub 上编辑此页面' + }, + footer: { message: '基于 Apache 2.0 许可发布', copyright: '版权所有 © 2023-现在 李晗' - } + }, + docFooter: { + prev: '上一页', + next: '下一页' + }, + outline: { + label: '页面导航' + }, } })