LunaTranslator/docs/.vitepress/config/en.ts
HIllya51 a8e9a50e41 .
2025-11-02 16:26:19 +08:00

99 lines
No EOL
4.8 KiB
TypeScript

import { defineConfig } from 'vitepress'
export const en = defineConfig({
themeConfig: {
footer: {
copyright: `Released under the <a href="https://github.com/HIllya51/LunaTranslator/blob/main/LICENSE">GPLv3</a> license`
},
nav: [
// { text: "HomePage", link: "https://lunatranslator.org/" },
{ text: "Discord", link: "https://discord.com/invite/ErtDwVeAbB" },
{ text: "Sponsorship", link: "/en/support" },
],
editLink: {
pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/:path',
text: 'Edit this page on GitHub'
},
sidebar: [
{
text: 'Basic',
items: [
{ text: 'Software Download & FAQ', link: '/en/README' },
{ text: 'Basic Usage', link: '/en/basicuse' },
{ text: 'Sponsorship', link: '/en/support' }
]
},
{
text: 'Detailed',
items: [
{
text: 'HOOK Related Settings', link: '/en/hooksettings',
collapsed: true,
items: [
{ text: 'HOOK Settings', link: '/en/hooksettings' },
{ text: 'Embedded Translation', link: '/en/embedtranslate' },
{ text: 'Emulator Game Support', link: '/en/emugames' },
]
},
{
text: 'OCR Related Settings', link: '/en/useapis/ocrapi',
collapsed: true,
items: [
{ text: 'OCR interface settings', link: '/en/useapis/ocrapi' },
{ text: 'OCR Automation Execution Methods', link: '/en/ocrparam' },
]
},
{
text: 'Translation interface settings', link: '/en/guochandamoxing',
collapsed: true,
items: [
{ text: 'Large Model Translation Interface', link: '/en/guochandamoxing' },
{ text: 'Traditional online translation interface', link: '/en/useapis/tsapi' },
]
},
{
text: 'Text Processing & Translation Optimization', link: '/en/textprocess',
collapsed: true,
items: [
{ text: 'Functions and Usage of Various Text Processing Methods', link: '/en/textprocess' },
{ text: 'Functions of Various Translation Optimizations', link: '/en/transoptimi' }
]
},
{
text: 'Speech Synthesis', link: '/en/ttsengines',
collapsed: true,
items: [
{ text: 'Speech Synthesis Engine', link: '/en/ttsengines' },
{ text: 'Using Different Voices for Different Characters', link: '/en/ttsofname' }
]
},
{
text: 'Language Learning', link: '/en/qa1',
collapsed: true,
items: [
{ text: 'Japanese Word Segmentation and Kana Pronunciation', link: '/en/qa1' },
{ text: 'Using the Built-in Dictionary Tool', link: '/en/internaldict' },
{ text: 'Install the Yomitan Browser Extension', link: '/en/yomitan' },
{ text: 'Anki Integration', link: '/en/qa2' },
{ text: 'Chinese Word Segmentation and Pinyin Annotation', link: '/en/jiebapinyin' },
]
},
{ text: 'Tool Buttons', link: '/en/alltoolbuttons' },
{ text: 'Shortcut Keys', link: '/en/fastkeys' },
{ text: 'Network Service', link: '/en/apiservice' },
{ text: 'Speech Recognition', link: '/en/sr' },
{
text: 'Practical Tips', link: '/en/gooduse/multiconfigs',
collapsed: true,
items: [
{ text: 'Creating Multiple Configuration Files', link: '/en/gooduse/multiconfigs' },
{ text: 'Temporarily Using OCR in HOOK Mode ', link: '/en/gooduse/useocrinhook' },
{ text: 'Binding Game Window in OCR Mode', link: '/en/gooduse/gooduseocr' },
]
},
]
}
]
}
})