Skip to content

Commit b1bc73f

Browse files
author
nebulaliu
committed
feat: pages
1 parent 046016b commit b1bc73f

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

.config/.vitepress/config.mts

+51-51
Original file line numberDiff line numberDiff line change
@@ -29,128 +29,128 @@ export default defineConfig({
2929

3030
sidebar: [
3131
{
32-
text: "基本信息",
32+
text: "基本",
3333
items: [
34-
{ text: "简介", link: "/markdown-examples" },
35-
{ text: "安装与使用", link: "/api-examples" },
36-
{ text: "入门指南", link: "/api-examples" },
37-
{ text: "优秀案例", link: "/api-examples" },
34+
{ text: "简介", link: "/README" },//
35+
{ text: "安装与使用", link: "/Design/SDKInstaller" },
36+
{ text: "入门指南", link: "/Design/Guide" },
37+
{ text: "优秀案例", link: "/Design/ShowCase" },//
3838
],
3939
},
4040
{
4141
text: "方案概述与兼容性",
4242
items: [
43-
{ text: "技术原理", link: "/markdown-examples" },
44-
{ text: "兼容性评估", link: "/api-examples" },
45-
{ text: "推荐引擎版本", link: "/api-examples" },
43+
{ text: "技术原理", link: "/Design/Summary" },
44+
{ text: "兼容性评估", link: "/Design/Evaluation" },
45+
{ text: "推荐引擎版本", link: "/Design/UnityVersion" },
4646
],
4747
},
4848
{
4949
text: "性能优化",
5050
items: [
5151
{
5252
text: "性能优化总览",
53-
link: "",
53+
link: "/Design/PerfOptimization",
5454
},
5555
{
5656
text: "性能优化评估标准",
57-
link: "",
57+
link: "/Design/PerfMeasure",
5858
},
5959
{
6060
text: "启动性能",
6161
items: [
6262
{
6363
text: "提升 Unity WebGL 游戏启动速度",
64-
link: "/markdown-examples",
64+
link: "/Design/StartupOptimization",
6565
},
66-
{ text: "启动流程与时序", link: "/api-examples" },
66+
{ text: "启动流程与时序", link: "/Design/Startup" },
6767
{
6868
text: "使用 Loader 进行游游戏加载",
69-
link: "/markdown-examples",
69+
link: "/Design/UsingLoader",
7070
},
71-
{ text: "资源按需加载概述", link: "/api-examples" },
71+
{ text: "资源按需加载概述", link: "/Design/ResourcesLoading" },
7272
{
7373
text: "使用 AssetBundle 进行资源按需加载",
74-
link: "/markdown-examples",
74+
link: "/Design/UsingAssetBundle",
7575
},
7676
{
7777
text: "使用 Addressable 进行资源按需加载",
78-
link: "/api-examples",
78+
link: "/Design/UsingAddressable",
7979
},
8080
{
8181
text: "使用 AutoStreaming 进行资源按需加载",
82-
link: "/markdown-examples",
82+
link: "/Design/InstantGameGuide",
8383
},
84-
{ text: "定制启动封面", link: "/api-examples" },
85-
{ text: "设计启动剧情", link: "/markdown-examples" },
86-
{ text: "使用预下载功能", link: "/api-examples" },
87-
{ text: "首场景启动优化", link: "/api-examples" },
88-
{ text: "使用代码分包工具", link: "/api-examples" },
89-
{ text: "启动留存数据上报统计", link: "/api-examples" },
90-
{ text: "最佳实践检测工具", link: "/api-examples" },
91-
{ text: "微信系统字体", link: "/api-examples" },
84+
{ text: "定制启动封面", link: "/Design/CustomLoading" },
85+
{ text: "设计启动剧情", link: "/Design/LaunchOpera" },
86+
{ text: "使用预下载功能", link: "/Design/UsingPreload" },
87+
{ text: "首场景启动优化", link: "/Design/FirstSceneOptimization" },
88+
{ text: "使用代码分包工具", link: "/Design/WasmSplit" },
89+
{ text: "启动留存数据上报统计", link: "/Design/ReportStartupStat" },
90+
{ text: "最佳实践检测工具", link: "/Design/PerformanceMonitor" },
91+
{ text: "微信系统字体", link: "/Design/WXFont" },
9292
],
9393
},
9494
{
9595
text: "运行性能",
9696
items: [
97-
{ text: "优化Unity WebGL的运行性能", link: "/markdown-examples" },
97+
{ text: "优化Unity WebGL的运行性能", link: "/Design/OptimizationPerformence" },
9898
{
9999
text: "使用 Android CPU Profiler 性能调优",
100-
link: "/api-examples",
100+
link: "/Design/AndroidProfile",
101101
},
102102
{
103103
text: "使用 Unity Profiler 性能调优",
104-
link: "/markdown-examples",
104+
link: "/Design/UnityProfiler",
105105
},
106-
{ text: "优化Unity WebGL的内存", link: "/api-examples" },
106+
{ text: "优化Unity WebGL的内存", link: "/Design/OptimizationMemory" },
107107
{
108108
text: "使用ProfilingMemory分析内存",
109-
link: "/markdown-examples",
109+
link: "/Design/UsingMemoryProfiler",
110110
},
111-
{ text: "压缩纹理优化", link: "/api-examples" },
112-
{ text: "资源优化工具与建议", link: "/markdown-examples" },
113-
{ text: "iOS高性能 与 高性能+ 模式", link: "/api-examples" },
114-
{ text: "优化Unity WebGL的渲染性能", link: "/markdown-examples" },
115-
{ text: "定制微信小游戏的 URP 管线", link: "/markdown-examples" },
116-
{ text: "WebGL2.0渲染支持说明", link: "/markdown-examples" },
111+
{ text: "压缩纹理优化", link: "/Design/CompressedTexture" },
112+
{ text: "资源优化工具与建议", link: "/Design/AssetOptimization" },
113+
{ text: "iOS高性能 与 高性能+ 模式", link: "/Design/iOSOptimization" },
114+
{ text: "优化Unity WebGL的渲染性能", link: "/Design/RenderOptimization" },
115+
{ text: "定制微信小游戏的 URP 管线", link: "/Design/CustomURP" },
116+
{ text: "WebGL2.0渲染支持说明", link: "/Design/WebGL2" },
117117
],
118118
},
119119
],
120120
},
121121
{
122122
text: "版本更新与资源部署",
123123
items: [
124-
{ text: "小游戏资源部署", link: "/markdown-examples" },
125-
{ text: "小游戏资源缓存", link: "" },
126-
{ text: "小游戏版本更新", link: "/api-examples" },
124+
{ text: "小游戏资源部署", link: "/Design/DataCDN" },
125+
{ text: "小游戏资源缓存", link: "/Design/FileCache" },
126+
{ text: "小游戏版本更新", link: "/Design/Update" },
127127
],
128128
},
129129
{
130130
text: "能力适配",
131131
items: [
132-
{ text: "WX SDK 平台能力适配", link: "/markdown-examples" },
133-
{ text: "屏幕适配", link: "/markdown-examples" },
134-
{ text: "输入法适配", link: "/markdown-examples" },
135-
{ text: "排行榜与微信关系数据", link: "/markdown-examples" },
136-
{ text: "后端服务指引", link: "/markdown-examples" },
137-
{ text: "网络通信适配", link: "/markdown-examples" },
138-
{ text: "使用水印保护代码包安全", link: "/markdown-examples" },
132+
{ text: "WX SDK 平台能力适配", link: "/Design/WX_SDK" },
133+
{ text: "屏幕适配", link: "/Design/fixScreen" },
134+
{ text: "输入法适配", link: "/Design/InputAdaptation" },
135+
{ text: "排行榜与微信关系数据", link: "/Design/OpenData" },
136+
{ text: "后端服务指引", link: "/Design/BackendServiceStartup" },
137+
{ text: "网络通信适配", link: "/Design/UsingNetworking" },
138+
{ text: "使用水印保护代码包安全", link: "/Design/wasmWaterMark" },
139139
],
140140
},
141141
{
142142
text: "调试与异常处理",
143143
items: [
144-
{ text: "开发错误调试与排查", link: "/markdown-examples" },
145-
{ text: "现网错误日志上报与排查", link: "/api-examples" },
144+
{ text: "开发错误调试与排查", link: "/Design/DebugAndException" },
145+
{ text: "现网错误日志上报与排查", link: "/Design/IssueForProduction" },
146146
],
147147
},
148148
{
149149
text: "其他",
150150
items: [
151-
{ text: "技术常见问题QA", link: "/api-examples" },
152-
{ text: "问题反馈与联系我们", link: "/markdown-examples" },
153-
{ text: "技术沙龙", link: "/markdown-examples" },
151+
{ text: "技术常见问题QA", link: "/Design/DevelopmentQAList" },
152+
{ text: "问题反馈与联系我们", link: "/Design/IssueAndContact" },
153+
{ text: "技术沙龙", link: "/" }, //
154154
],
155155
},
156156
],

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
link: /Design/Guide
1212
- theme: alt
1313
text: 优秀案例
14-
link: /markdown-examples
14+
link: /Design/ShowCase
1515
- theme: alt
1616
text: 在 GitHub 上查看
1717
link: https://github.com/wechat-miniprogram/minigame-unity-webgl-transform

0 commit comments

Comments
 (0)