更新配置,添加主题配置和编辑链接功能,支持多语言文档编辑

This commit is contained in:
2024-12-17 01:36:31 +08:00
parent 721904d4c3
commit 575993ebc4
6 changed files with 44 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import {defineConfig} from 'vitepress'
import { ThemeConfig } from './common'
export const en = defineConfig({
lang: "en-US",
@ -14,6 +15,7 @@ export const en = defineConfig({
{text: 'Usage', link: '/en/start/install'},
{text: 'Develop', link: '/en/dev/extension'},
],
editLink: ThemeConfig.getEditLink('Edit this page'),
langMenuLabel: 'Language',
returnToTopLabel: 'To top',
sidebarMenuLabel: 'Option',