mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 配置docfx.json以支持多项目源文件生成API文档 - 添加filterConfig.yml过滤测试和内部实现相关代码 - 创建主页index.md介绍GFramework框架特性 - 配置多层级目录结构toc.yml组织文档导航 - 设置构建输出路径和全局元数据配置
55 lines
1.2 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|