GFramework/docfx/docfx.json
GeWuYou 1ea0eac6a2 feat(docs): 配置文档生成系统并添加框架文档
- 配置docfx.json以支持多项目源文件生成API文档
- 添加filterConfig.yml过滤测试和内部实现相关代码
- 创建主页index.md介绍GFramework框架特性
- 配置多层级目录结构toc.yml组织文档导航
- 设置构建输出路径和全局元数据配置
2026-02-03 08:56:24 +08:00

55 lines
1.2 KiB
JSON

{
"metadata": [
{
"src": [
{
"src": "..",
"files": [
"GFramework.Core/GFramework.Core.csproj",
"GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj",
"GFramework.Game/GFramework.Game.csproj",
"GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj",
"GFramework.Godot/GFramework.Godot.csproj"
]
}
],
"dest": "api",
"filter": "filterConfig.yml",
"properties": {
"TargetFramework": "net8.0"
}
}
],
"build": {
"content": [
{
"files": [ "api/**.yml", "api/index.md" ]
},
{
"files": [ "../docs/**.md", "../docs/**/toc.yml" ],
"src": "../docs"
},
{
"files": [ "toc.yml", "*.md" ]
}
],
"resource": [
{
"files": [ "../README.md" ],
"src": ".."
}
],
"dest": "_site",
"template": [ "default" ],
"globalMetadata": {
"_appTitle": "GFramework Documentation",
"_enableSearch": true,
"_appFooter": "Copyright © 2026 GeWuYou. All rights reserved.",
"pdf": false
},
"xref": [
"https://learn.microsoft.com/en-us/dotnet/.xrefmap.json"
]
}
}