mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
build(docfx): 更新文档生成配置
- 修改内容文件匹配规则,将api/index.md从通用匹配中分离 - 添加资源文件配置,支持图片资源(png、jpg、jpeg、gif、svg)的处理 - 集成material模板以增强文档外观 - 调整文件路径匹配模式,使用**/*.md替代**.md以确保正确匹配
This commit is contained in:
parent
6e4d8d99e1
commit
c27c02a027
@ -22,15 +22,18 @@
|
||||
],
|
||||
"build": {
|
||||
"content": [
|
||||
{ "files": [ "index.md" ] },
|
||||
{ "files": [ "api/**.yml", "api/index.md" ] },
|
||||
{
|
||||
"files": [ "**.md", "**/toc.yml" ],
|
||||
"src": "../docs"
|
||||
}
|
||||
],
|
||||
"dest": "_site",
|
||||
"template": [ "default" ],
|
||||
{ "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,
|
||||
@ -41,4 +44,4 @@
|
||||
"https://learn.microsoft.com/en-us/dotnet/.xrefmap.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user