🎈 perf: 优化细节

This commit is contained in:
m1m1sha
2024-05-07 22:22:37 +08:00
parent 1ca13c91c6
commit 8183e3d3b0
4 changed files with 33 additions and 2 deletions
+24 -1
View File
@@ -5,7 +5,9 @@ export const cn = defineConfig({
description: '一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现',
themeConfig: {
search: {
provider: 'local',
},
sidebar: [
{
text: '开始',
@@ -35,5 +37,26 @@ export const cn = defineConfig({
],
},
],
footer: {
message: '基于 Apache License 2.0 许可发布',
copyright: '版权所有 © 2024-present EasyTier',
},
docFooter: {
prev: '上一页',
next: '下一页',
},
lastUpdated: {
text: '最后更新于',
formatOptions: {
dateStyle: 'short',
timeStyle: 'medium',
},
},
langMenuLabel: '多语言',
returnToTopLabel: '回到顶部',
sidebarMenuLabel: '菜单',
darkModeSwitchLabel: '主题',
lightModeSwitchTitle: '切换到浅色模式',
darkModeSwitchTitle: '切换到深色模式',
},
})
+7
View File
@@ -5,6 +5,9 @@ export const en = defineConfig({
description: 'a simple, safe and decentralized VPN networking solution implemented with the Rust language and Tokio framework.',
themeConfig: {
search: {
provider: 'local',
},
sidebar: [
{
text: 'Getting Started',
@@ -34,5 +37,9 @@ export const en = defineConfig({
],
},
],
footer: {
message: 'Released under the Apache License 2.0.',
copyright: 'Copyright © 2024-present EasyTier',
},
},
})
+1
View File
@@ -6,6 +6,7 @@ import { cn } from './cn'
export default withMermaid({
title: 'Easytier',
base: '/easytier-doc/',
lastUpdated: true,
locales: {
root: { label: '简体中文', ...cn },
en: { label: 'English', ...en },
+1 -1
View File
@@ -1,3 +1,3 @@
# 许可证
EasyTier 根据 [Apache License 2.0](https://github.com/KKRainbow/EasyTier/blob/main/LICENSE) 许可发布。
EasyTier 基于 [Apache License 2.0](https://github.com/KKRainbow/EasyTier/blob/main/LICENSE) 许可发布。