Skip to content

Commit fb85e53

Browse files
authored
Merge pull request #738 from liuxinyumocn/fix/docs0417
feat: update docs
2 parents 156bbcb + 613ad87 commit fb85e53

File tree

11 files changed

+830
-10
lines changed

11 files changed

+830
-10
lines changed

.config/.vitepress/config.mts

+8-7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
title: "微信小游戏团结/Unity快适配",
66
description: "Wechat Mini Game Unity engine adapter documents.",
77
themeConfig: {
8+
logo: '/image/vitepress/6ws3f1.svg',
89
nav: [
910
{ text: "主页", link: "/" },
1011
{
@@ -71,15 +72,15 @@ export default defineConfig({
7172
},
7273
{ text: "资源按需加载概述", link: "/Design/ResourcesLoading" },
7374
{
74-
text: "AssetBundle 按需加载",
75+
text: "使用 AssetBundle 按需加载",
7576
link: "/Design/UsingAssetBundle",
7677
},
7778
{
78-
text: "Addressable 按需加载",
79+
text: "使用 Addressable 按需加载",
7980
link: "/Design/UsingAddressable",
8081
},
8182
{
82-
text: "AutoStreaming 按需加载",
83+
text: "使用 AutoStreaming 按需加载",
8384
link: "/Design/InstantGameGuide",
8485
},
8586
{ text: "定制启动封面", link: "/Design/CustomLoading" },
@@ -95,16 +96,16 @@ export default defineConfig({
9596
{
9697
text: "运行性能",
9798
items: [
98-
{ text: "优化Unity WebGL的运行性能", link: "/Design/OptimizationPerformence" },
99+
{ text: "优化 Unity WebGL 的运行性能", link: "/Design/OptimizationPerformence" },
99100
{
100-
text: "Android CPU Profiler调优",
101+
text: "Android CPU Profiler 性能调优",
101102
link: "/Design/AndroidProfile",
102103
},
103104
{
104-
text: "Unity Profiler调优",
105+
text: "Unity Profiler 性能调优",
105106
link: "/Design/UnityProfiler",
106107
},
107-
{ text: "优化Unity WebGL的内存", link: "/Design/OptimizationMemory" },
108+
{ text: "优化 Unity WebGL 的内存", link: "/Design/OptimizationMemory" },
108109
{
109110
text: "ProfilingMemory分析内存",
110111
link: "/Design/UsingMemoryProfiler",

.config/.vitepress/theme/custom.css

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:root {
2+
--vp-home-hero-name-color: transparent;
3+
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #f69f41, #fbc662, #fea649);
4+
--vp-c-brand-1: #fa9c47;
5+
--vp-c-brand-2: rgba(251, 197, 98, 0.95);
6+
--vp-c-brand-3: #fa9c47;
7+
--vp-sidebar-width: 295px;
8+
}

.config/.vitepress/theme/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import DefaultTheme from 'vitepress/theme'
2+
import './custom.css'
3+
4+
export default DefaultTheme

image/vitepress/6ws3f1.svg

+50
Loading

image/vitepress/feature-0.svg

+87
Loading

image/vitepress/feature-1.svg

+26
Loading

0 commit comments

Comments
 (0)