mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-24 20:34:29 +08:00
build(docfx): 更新文档构建配置
移除了冗余的content配置项,简化了文件路径匹配规则, 统一使用更简洁的glob模式来处理markdown和toc文件
This commit is contained in:
parent
afa544b79c
commit
d359f661f4
@ -22,24 +22,14 @@
|
|||||||
],
|
],
|
||||||
"build": {
|
"build": {
|
||||||
"content": [
|
"content": [
|
||||||
{
|
{ "files": [ "index.md" ] },
|
||||||
"files": [ "api/**.yml", "api/index.md" ]
|
{ "files": [ "api/**.yml", "api/index.md" ] },
|
||||||
},
|
{
|
||||||
{
|
"files": [ "**.md", "**/toc.yml" ],
|
||||||
"files": [ "../docs/**.md", "../docs/**/toc.yml" ],
|
"src": "../docs"
|
||||||
"src": "../docs"
|
}
|
||||||
},
|
],
|
||||||
{
|
"dest": "_site",
|
||||||
"files": [ "toc.yml", "*.md" ]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"resource": [
|
|
||||||
{
|
|
||||||
"files": [ "../README.md" ],
|
|
||||||
"src": ".."
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dest": "_site",
|
|
||||||
"template": [ "default" ],
|
"template": [ "default" ],
|
||||||
"globalMetadata": {
|
"globalMetadata": {
|
||||||
"_appTitle": "GFramework Documentation",
|
"_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