File tree Expand file tree Collapse file tree 4 files changed +91
-1
lines changed Expand file tree Collapse file tree 4 files changed +91
-1
lines changed Original file line number Diff line number Diff line change
1
+ import { defineConfig } from 'vitepress'
2
+
3
+ // https://vitepress.dev/reference/site-config
4
+ export default defineConfig ( {
5
+ title : "微信小游戏团结/Unity快适配方案" ,
6
+ description : "Wechat Mini Game Unity engine adapter documents." ,
7
+ themeConfig : {
8
+ nav : [
9
+ { text : '主页' , link : '/' } ,
10
+ { text : '微信小游戏官方文档' , link : 'https://developers.weixin.qq.com/minigame/dev/guide/' } ,
11
+ {
12
+ text : '帮助' ,
13
+ items : [
14
+ { text : '微信开发者社区' , link : 'https://developers.weixin.qq.com/community/develop/question' } ,
15
+ { text : '客服助手' , link : 'https://work.weixin.qq.com/kfid/kfcca4feec277f91616' } ,
16
+ ] ,
17
+ } ,
18
+ { text : '团结引擎' , link : 'https://unity.cn/tuanjie/tuanjieyinqing' } ,
19
+ ] ,
20
+
21
+ sidebar : [
22
+ {
23
+ text : 'Examples' ,
24
+ items : [
25
+ { text : 'Markdown Examples' , link : '/markdown-examples' } ,
26
+ { text : 'Runtime API Examples' , link : '/api-examples' }
27
+ ]
28
+ }
29
+ ] ,
30
+
31
+ socialLinks : [
32
+ { icon : 'github' , link : 'https://github.com/wechat-miniprogram/minigame-unity-webgl-transform' }
33
+ ] ,
34
+
35
+ search : {
36
+ provider : 'local' ,
37
+ }
38
+ } ,
39
+ srcDir : '../' ,
40
+ base : '/minigame-unity-webgl-transform/' ,
41
+ outDir : '../docs' ,
42
+ // ignoreDeadLinks: true,
43
+ lang : 'zh-cn'
44
+ } )
Original file line number Diff line number Diff line change @@ -50,4 +50,9 @@ Plugins.meta
50
50
51
51
! minigame.texturecompressed.backup.unitypackage
52
52
! minigame.202305172131.unitypackage
53
- ! Demo /LaunchOpera /Assets /WebGLTemplates
53
+ ! Demo /LaunchOpera /Assets /WebGLTemplates
54
+
55
+ docs
56
+ node_modules
57
+ .config /.vitepress /dist
58
+ .config /.vitepress /cache
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : home
3
+
4
+ hero :
5
+ name : " 团结/Unity快适配方案"
6
+ text : " 基于WebGL + WebAssembly"
7
+ tagline : 无需使用JavaScript重构,快速移植团结/Unity游戏至微信小游戏平台解决方案。
8
+ actions :
9
+ - theme : brand
10
+ text : 现在开始
11
+ link : /markdown-examples
12
+ - theme : alt
13
+ text : 在 GitHub 上查看
14
+ link : https://github.com/wechat-miniprogram/minigame-unity-webgl-transform
15
+
16
+ features :
17
+ - title : 无需重构
18
+ details : 保持原引擎工具链与技术栈,无需重写游戏核心逻辑,支持大部分第三方插件。
19
+ - title : 高度还原
20
+ details : 转换工具与微信小游戏运行环境保证适配兼容,保持较高还原度。
21
+ - title : 众多案例
22
+ details : 目前超3000款Unity游戏在微信小游戏平台发布,持续为用户带来优质的游戏体验。
23
+ ---
24
+
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " minigame-unity-webgl-transform" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " Wechat Mini Game Unity engine adapter documents." ,
5
+ "main" : " index.js" ,
6
+ "scripts" : {
7
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
8
+ "docs:dev" : " vitepress dev .config" ,
9
+ "docs:build" : " vitepress build .config" ,
10
+ "docs:preview" : " vitepress preview .config"
11
+ },
12
+ "author" : " Wechat MiniGame Team" ,
13
+ "license" : " MIT" ,
14
+ "devDependencies" : {
15
+ "vitepress" : " ^1.0.2"
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments