mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-04-02 19:55:57 +08:00
docs(vitepress): 添加文档站点配置文件
- 实现 safeGenericEscapePlugin 插件解决 Markdown 中泛型符号转义问题 - 配置 VitePress 文档站点基本信息包括标题、描述和基础路径 - 设置多语言支持和本地搜索功能的中文翻译 - 定义导航菜单结构包含入门指南、核心框架、ECS系统等模块 - 配置侧边栏按模块分组显示详细文档页面链接 - 添加社交媒体链接、页脚信息和主题切换等 UI 元素 - 设置代码块大小警告阈值以适应大量代码示例
This commit is contained in:
parent
783570bae0
commit
4c64db3c58
@ -109,7 +109,8 @@ export default defineConfig({
|
||||
{ text: 'API 参考', link: '/zh-CN/api-reference' },
|
||||
{ text: '常见问题', link: '/zh-CN/faq' },
|
||||
{ text: '故障排查', link: '/zh-CN/troubleshooting' },
|
||||
{ text: '贡献指南', link: '/zh-CN/contributing' }
|
||||
{ text: '贡献指南', link: '/zh-CN/contributing' },
|
||||
{ text: '开发环境', link: '/zh-CN/contributor/development-environment' }
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -140,6 +141,7 @@ export default defineConfig({
|
||||
{ text: 'CQRS 模式', link: '/zh-CN/core/cqrs' },
|
||||
{ text: '事件系统', link: '/zh-CN/core/events' },
|
||||
{ text: '属性系统', link: '/zh-CN/core/property' },
|
||||
{ text: '状态管理', link: '/zh-CN/core/state-management' },
|
||||
{ text: 'IoC容器', link: '/zh-CN/core/ioc' },
|
||||
{ text: '协程系统', link: '/zh-CN/core/coroutine' },
|
||||
{ text: '状态机', link: '/zh-CN/core/state-machine' },
|
||||
@ -154,7 +156,28 @@ export default defineConfig({
|
||||
{ text: '模型层', link: '/zh-CN/core/model' },
|
||||
{ text: '系统层', link: '/zh-CN/core/system' },
|
||||
{ text: '规则系统', link: '/zh-CN/core/rule' },
|
||||
{ text: '环境接口', link: '/zh-CN/core/environment' }
|
||||
{ text: '环境接口', link: '/zh-CN/core/environment' },
|
||||
{ text: '本地化', link: '/zh-CN/core/localization' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
'/zh-CN/contributing': [
|
||||
{
|
||||
text: '贡献',
|
||||
items: [
|
||||
{ text: '贡献指南', link: '/zh-CN/contributing' },
|
||||
{ text: '开发环境', link: '/zh-CN/contributor/development-environment' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
'/zh-CN/contributor/': [
|
||||
{
|
||||
text: '贡献',
|
||||
items: [
|
||||
{ text: '贡献指南', link: '/zh-CN/contributing' },
|
||||
{ text: '开发环境', link: '/zh-CN/contributor/development-environment' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user