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

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 ja = defineConfig({
lang: "ja-JP",
@ -14,6 +15,7 @@ export const ja = defineConfig({
{text: '使用方法', link: '/ja/start/install'},
{text: '開発', link: '/ja/dev/extension'},
],
editLink: ThemeConfig.getEditLink('このページを編集'),
langMenuLabel: '言語',
returnToTopLabel: 'トップへ戻る',
sidebarMenuLabel: 'オプション',