GFramework/docfx/docfx.json
GeWuYou d359f661f4 build(docfx): 更新文档构建配置
移除了冗余的content配置项,简化了文件路径匹配规则,
统一使用更简洁的glob模式来处理markdown和toc文件
2026-02-03 11:07:50 +08:00

45 lines
1.1 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": [ "index.md" ] },
{ "files": [ "api/**.yml", "api/index.md" ] },
{
"files": [ "**.md", "**/toc.yml" ],
"src": "../docs"
}
],
"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"
]
}
}