-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.js
More file actions
113 lines (107 loc) · 4.55 KB
/
sidebars.js
File metadata and controls
113 lines (107 loc) · 4.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
unity: [
{
type: 'category',
label: '入门教程',
items: [
{ label: '安装 PuerTS', type: 'doc', id: 'puerts/unity/install' },
{
type: 'category',
label: 'JavaScript / TypeScript',
items: [
{ label: 'Hello World (JS)', type: 'doc', id: 'puerts/unity/tutorial/runJS' },
{ label: 'JS 调用 C# 指南', type: 'doc', id: 'puerts/unity/tutorial/js2cs' },
{ label: 'C# 调用 JS 指南', type: 'doc', id: 'puerts/unity/tutorial/cs2js' },
],
},
{
type: 'category',
label: 'Lua',
items: [
{ label: 'Hello World (Lua)', type: 'doc', id: 'puerts/unity/tutorial/runLua' },
{ label: 'Lua 调用 C# 指南', type: 'doc', id: 'puerts/unity/tutorial/lua2cs' },
{ label: 'C# 调用 Lua 指南', type: 'doc', id: 'puerts/unity/tutorial/cs2lua' },
],
},
{
type: 'category',
label: 'Python',
items: [
{ label: 'Hello World (Python)', type: 'doc', id: 'puerts/unity/tutorial/runPython' },
{ label: 'Python 调用 C# 指南', type: 'doc', id: 'puerts/unity/tutorial/python2cs' },
{ label: 'C# 调用 Python 指南', type: 'doc', id: 'puerts/unity/tutorial/cs2python' },
],
},
{ label: '多语言特性对比', type: 'doc', id: 'puerts/unity/tutorial/lang-comparison' },
{
type: 'category',
label: 'AI',
items: [
{ label: 'Unity编辑器助手', type: 'doc', id: 'puerts/unity/tutorial/unity-editor-assistant' },
{ label: 'Agent开发指南', type: 'doc', id: 'puerts/unity/tutorial/agent-development-guide' },
],
},
]
},
{
type: 'category',
label: '善用JS生态',
items: [
{ label: '模块加载', type: 'doc', id: 'puerts/unity/knowjs/module' },
{ label: '使用Typescript', type: 'doc', id: 'puerts/unity/knowjs/typescript' },
{ label: 'JS 调试', type: 'doc', id: 'puerts/unity/knowjs/debugging' },
{ label: 'WebGL 支持', type: 'doc', id: 'puerts/unity/knowjs/webgl' },
]
},
{
type: 'category',
label: '代码生成',
items: [
{ label: 'Wrapper 生成', type: 'doc', id: 'puerts/unity/wrapper/wrapper' },
{ label: '生成过滤器', type: 'doc', id: 'puerts/unity/wrapper/filter' },
{ label: 'BlittableCopy GC 优化', type: 'doc', id: 'puerts/unity/wrapper/blittablecopy' },
{ label: 'C# 扩展函数', type: 'doc', id: 'puerts/unity/wrapper/extension' },
{ label: '所有生成配置一览', type: 'doc', id: 'puerts/unity/wrapper/all_attribute' },
]
},
{
type: 'category',
label: '其它指引',
items: [
{ label: 'FAQ', type: 'doc', id: 'puerts/unity/faq' },
{ label: '版本升级指南', type: 'doc', id: 'puerts/unity/other/upgrade' },
{ label: '自行构建', type: 'doc', id: 'puerts/unity/other/building' },
{ label: '在DotNet项目中使用', type: 'doc', id: 'puerts/unity/other/dotnet' },
],
},
{
type: 'category',
label: '性能表现',
items: [
{ label: '性能表现', type: 'doc', id: 'puerts/unity/performance/index' },
{ label: 'xIl2cpp模式(new)', type: 'doc', id: 'puerts/unity/performance/il2cpp' },
]
},
{ label: '来自社区的 PuerTS 扩展', type: 'doc', id: 'puerts/unity/other/community' },
{
type: "link",
href: "https://github.com/chexiongsheng/puerts_unity_demo.git",
label: "官方Demo"
}
],
unreal: [
{ label: "安装 PuerTS", type: 'doc', id: 'puerts/unreal/install' },
{ label: "使用手册", type: 'doc', id: 'puerts/unreal/manual' },
{ label: "调试指南", type: 'doc', id: 'puerts/unreal/vscode_debug' },
{ label: "脚本调用引擎API", type: 'doc', id: 'puerts/unreal/script_call_uclass' },
{ label: "基于模板的静态绑定", type: 'doc', id: 'puerts/unreal/template_binding' },
{ label: "引擎(或纯C++)调用脚本", type: 'doc', id: 'puerts/unreal/engine_call_script' },
{ label: "继承引擎类功能", type: 'doc', id: 'puerts/unreal/uclass_extends' },
{ label: "蓝图Mixin", type: 'doc', id: 'puerts/unreal/mixin' },
{ label: "FAQ", type: 'doc', id: 'puerts/unreal/faq' },
{ label: "官方Demo", type: 'doc', id: 'puerts/unreal/demos' }
]
};
module.exports = sidebars;