mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 04:59:01 +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": {
|
"build": {
|
||||||
"content": [
|
"content": [
|
||||||
{ "files": [ "index.md" ] },
|
{ "files": [ "index.md" ] },
|
||||||
{ "files": [ "api/**.yml", "api/index.md" ] },
|
{ "files": [ "api/**.yml" ] },
|
||||||
{
|
{
|
||||||
"files": [ "**.md", "**/toc.yml" ],
|
"files": [ "**/*.md", "**/toc.yml" ],
|
||||||
"src": "../docs"
|
"src": "../docs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dest": "_site",
|
"resource": [
|
||||||
"template": [ "default" ],
|
{ "files": [ "images/**", "**/*.png", "**/*.jpg", "**/*.jpeg", "**/*.gif", "**/*.svg" ] }
|
||||||
|
],
|
||||||
|
"dest": "_site",
|
||||||
|
"template": [ "default", "templates/material" ],
|
||||||
"globalMetadata": {
|
"globalMetadata": {
|
||||||
"_appTitle": "GFramework Documentation",
|
"_appTitle": "GFramework Documentation",
|
||||||
"_enableSearch": true,
|
"_enableSearch": true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user