Skip to content

Commit

Permalink
Merge pull request #738 from liuxinyumocn/fix/docs0417
Browse files Browse the repository at this point in the history
feat: update docs
  • Loading branch information
liuxinyumocn authored Apr 17, 2024
2 parents 156bbcb + 613ad87 commit fb85e53
Show file tree
Hide file tree
Showing 11 changed files with 830 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .config/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
title: "微信小游戏团结/Unity快适配",
description: "Wechat Mini Game Unity engine adapter documents.",
themeConfig: {
logo: '/image/vitepress/6ws3f1.svg',
nav: [
{ text: "主页", link: "/" },
{
Expand Down Expand Up @@ -71,15 +72,15 @@ export default defineConfig({
},
{ text: "资源按需加载概述", link: "/Design/ResourcesLoading" },
{
text: "AssetBundle 按需加载",
text: "使用 AssetBundle 按需加载",
link: "/Design/UsingAssetBundle",
},
{
text: "Addressable 按需加载",
text: "使用 Addressable 按需加载",
link: "/Design/UsingAddressable",
},
{
text: "AutoStreaming 按需加载",
text: "使用 AutoStreaming 按需加载",
link: "/Design/InstantGameGuide",
},
{ text: "定制启动封面", link: "/Design/CustomLoading" },
Expand All @@ -95,16 +96,16 @@ export default defineConfig({
{
text: "运行性能",
items: [
{ text: "优化Unity WebGL的运行性能", link: "/Design/OptimizationPerformence" },
{ text: "优化 Unity WebGL 的运行性能", link: "/Design/OptimizationPerformence" },
{
text: "Android CPU Profiler调优",
text: "Android CPU Profiler 性能调优",
link: "/Design/AndroidProfile",
},
{
text: "Unity Profiler调优",
text: "Unity Profiler 性能调优",
link: "/Design/UnityProfiler",
},
{ text: "优化Unity WebGL的内存", link: "/Design/OptimizationMemory" },
{ text: "优化 Unity WebGL 的内存", link: "/Design/OptimizationMemory" },
{
text: "ProfilingMemory分析内存",
link: "/Design/UsingMemoryProfiler",
Expand Down
8 changes: 8 additions & 0 deletions .config/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #f69f41, #fbc662, #fea649);
--vp-c-brand-1: #fa9c47;
--vp-c-brand-2: rgba(251, 197, 98, 0.95);
--vp-c-brand-3: #fa9c47;
--vp-sidebar-width: 295px;
}
4 changes: 4 additions & 0 deletions .config/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme
50 changes: 50 additions & 0 deletions image/vitepress/6ws3f1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 87 additions & 0 deletions image/vitepress/feature-0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions image/vitepress/feature-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fb85e53

Please sign in to comment.