From 8ac32702c1da727fbd900858e64f992492e14554 Mon Sep 17 00:00:00 2001 From: liwei Date: Thu, 28 Mar 2024 21:44:17 +0800 Subject: [PATCH] fix: config --- .vitepress/config.mjs | 122 +++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 9ae2d75..2d1622f 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -159,67 +159,67 @@ export default defineConfig({ ], }, }, - }, - "zh-TW": { - label: "正體中文", - lang: "zh-TW", - title: "Gopeed 文件", - description: "Gopeed 文件網站", - themeConfig: { - socialLinks: [ - { icon: "github", link: "https://github.com/GopeedLab/gopeed" }, - { icon: "discord", link: "https://discord.gg/ZUJqJrwCGB" }, - ], - nav: [ - { - text: "指南", - link: "/zh-tw/index.md", - }, - { - text: "開發", - link: "/zh-tw/dev.md", - }, - { - text: "RESTFul API", - link: "https://docs.gopeed.com/site/openapi/index.html", - }, - { - text: "SDK Reference", - link: "https://docs.gopeed.com/site/reference/index.html", - }, - { - text: "捐贈", - link: "/donate.md", - }, - ], - sidebar: [ - { - text: "指南", - items: [ - { - text: "介紹", - link: "/zh-tw/index.md", - }, - { - text: "安裝", - link: "/zh-tw/install.md", - }, - ], - }, - { - text: "開發", - items: [ - { - text: "API 對接", - link: "/zh-tw/dev-api.md", - }, - { - text: "擴充開發", - link: "/zh-tw/dev-extension.md", - }, - ], - }, - ], + "zh-TW": { + label: "正體中文", + lang: "zh-TW", + title: "Gopeed 文件", + description: "Gopeed 文件網站", + themeConfig: { + socialLinks: [ + { icon: "github", link: "https://github.com/GopeedLab/gopeed" }, + { icon: "discord", link: "https://discord.gg/ZUJqJrwCGB" }, + ], + nav: [ + { + text: "指南", + link: "/zh-tw/index.md", + }, + { + text: "開發", + link: "/zh-tw/dev.md", + }, + { + text: "RESTFul API", + link: "https://docs.gopeed.com/site/openapi/index.html", + }, + { + text: "SDK Reference", + link: "https://docs.gopeed.com/site/reference/index.html", + }, + { + text: "捐贈", + link: "/donate.md", + }, + ], + sidebar: [ + { + text: "指南", + items: [ + { + text: "介紹", + link: "/zh-tw/index.md", + }, + { + text: "安裝", + link: "/zh-tw/install.md", + }, + ], + }, + { + text: "開發", + items: [ + { + text: "API 對接", + link: "/zh-tw/dev-api.md", + }, + { + text: "擴充開發", + link: "/zh-tw/dev-extension.md", + }, + ], + }, + ], + }, }, }, themeConfig: {