From d359f661f487fc9e83b7117eff716aa4cbce93f5 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:07:50 +0800 Subject: [PATCH] =?UTF-8?q?build(docfx):=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除了冗余的content配置项,简化了文件路径匹配规则, 统一使用更简洁的glob模式来处理markdown和toc文件 --- docfx/docfx.json | 26 ++++++++------------------ docfx/index.md | 6 ++++++ 2 files changed, 14 insertions(+), 18 deletions(-) create mode 100644 docfx/index.md diff --git a/docfx/docfx.json b/docfx/docfx.json index 02d87be..98445bc 100644 --- a/docfx/docfx.json +++ b/docfx/docfx.json @@ -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", diff --git a/docfx/index.md b/docfx/index.md new file mode 100644 index 0000000..04ad3b4 --- /dev/null +++ b/docfx/index.md @@ -0,0 +1,6 @@ +# GFramework Documentation + +欢迎来到 **GFramework** 文档站点。 + +- 📘 [使用指南](docs/index.md) +- 🧩 [API 文档](api/index.html)