mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
build(docfx): 更新文档构建配置
移除了冗余的content配置项,简化了文件路径匹配规则, 统一使用更简洁的glob模式来处理markdown和toc文件
This commit is contained in:
parent
afa544b79c
commit
d359f661f4
@ -22,24 +22,14 @@
|
||||
],
|
||||
"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",
|
||||
{ "files": [ "index.md" ] },
|
||||
{ "files": [ "api/**.yml", "api/index.md" ] },
|
||||
{
|
||||
"files": [ "**.md", "**/toc.yml" ],
|
||||
"src": "../docs"
|
||||
}
|
||||
],
|
||||
"dest": "_site",
|
||||
"template": [ "default" ],
|
||||
"globalMetadata": {
|
||||
"_appTitle": "GFramework Documentation",
|
||||
|
||||
6
docfx/index.md
Normal file
6
docfx/index.md
Normal file
@ -0,0 +1,6 @@
|
||||
# GFramework Documentation
|
||||
|
||||
欢迎来到 **GFramework** 文档站点。
|
||||
|
||||
- 📘 [使用指南](docs/index.md)
|
||||
- 🧩 [API 文档](api/index.html)
|
||||
Loading…
x
Reference in New Issue
Block a user