From 8b49099231b2a43c0b22d6a448943b5183473012 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Wed, 11 Feb 2026 10:04:19 +0800 Subject: [PATCH] =?UTF-8?q?remove(docfx):=20=E5=88=A0=E9=99=A4=20DocFX=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 docfx.json 配置文件 - 移除 filterConfig.yml 过滤配置文件 - 移除 index.md 主页文档 - 移除 toc.yml 导航配置文件 - 移除 API 目录下的 toc.yml 文件 --- docfx/docfx.json | 47 ------------------------------------------ docfx/filterConfig.yml | 13 ------------ docfx/index.md | 6 ------ docfx/toc.yml | 5 ----- docs/api/toc.yml | 2 -- 5 files changed, 73 deletions(-) delete mode 100644 docfx/docfx.json delete mode 100644 docfx/filterConfig.yml delete mode 100644 docfx/index.md delete mode 100644 docfx/toc.yml delete mode 100644 docs/api/toc.yml diff --git a/docfx/docfx.json b/docfx/docfx.json deleted file mode 100644 index 453829e..0000000 --- a/docfx/docfx.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "metadata": [ - { - "src": [ - { - "src": "..", - "files": [ - "GFramework.Core/GFramework.Core.csproj", - "GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj", - "GFramework.Game/GFramework.Game.csproj", - "GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj", - "GFramework.Godot/GFramework.Godot.csproj" - ] - } - ], - "dest": "api", - "filter": "filterConfig.yml", - "properties": { - "TargetFramework": "net8.0" - } - } - ], - "build": { - "content": [ - { "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, - "_appFooter": "Copyright © 2026 GeWuYou. All rights reserved.", - "pdf": false - }, - "xref": [ - "https://learn.microsoft.com/en-us/dotnet/.xrefmap.json" - ] - } -} \ No newline at end of file diff --git a/docfx/filterConfig.yml b/docfx/filterConfig.yml deleted file mode 100644 index ff8587b..0000000 --- a/docfx/filterConfig.yml +++ /dev/null @@ -1,13 +0,0 @@ -apiRules: -- exclude: - # 排除测试项目 - uidRegex: ^.*Tests$ - type: Namespace -- exclude: - # 排除生成器项目 - uidRegex: ^.*SourceGenerators.*$ - type: Namespace -- exclude: - # 排除内部实现细节 - uidRegex: ^.*Internals.*$ - type: Namespace \ No newline at end of file diff --git a/docfx/index.md b/docfx/index.md deleted file mode 100644 index 6f73b46..0000000 --- a/docfx/index.md +++ /dev/null @@ -1,6 +0,0 @@ -# GFramework Documentation - -欢迎来到 **GFramework** 文档站点。 - -- 📘 [使用指南](../docs/index.md) -- 🧩 [API 文档](_site/api/index.html) diff --git a/docfx/toc.yml b/docfx/toc.yml deleted file mode 100644 index 276b2c5..0000000 --- a/docfx/toc.yml +++ /dev/null @@ -1,5 +0,0 @@ -- name: Home - href: ../docs/index.md -- name: API Documentation - href: api/ - homepage: api/namespaces.md \ No newline at end of file diff --git a/docs/api/toc.yml b/docs/api/toc.yml deleted file mode 100644 index 407dc09..0000000 --- a/docs/api/toc.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: Namespaces - href: namespaces.md \ No newline at end of file