GFramework/docfx/docfx.json
GeWuYou c27c02a027 build(docfx): 更新文档生成配置
- 修改内容文件匹配规则,将api/index.md从通用匹配中分离
- 添加资源文件配置,支持图片资源(png、jpg、jpeg、gif、svg)的处理
- 集成material模板以增强文档外观
- 调整文件路径匹配模式,使用**/*.md替代**.md以确保正确匹配
2026-02-03 15:26:52 +08:00

47 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": [ "index.md" ] },
{ "files": [ "api/**.yml" ] },
{
"files": [ "**/*.md", "**/toc.yml" ],
"src": "../docs"
}
],
"resource": [
{ "files": [ "images/**", "**/*.png", "**/*.jpg", "**/*.jpeg", "**/*.gif", "**/*.svg" ] }
],
"dest": "_site",
"template": [ "default", "templates/material" ],
"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"
]
}
}