From c41f569e39f054124d375a6ac9b819843c95f374 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Sun, 8 Apr 2018 02:29:34 +0800 Subject: [PATCH] Cleanup docfx.json --- docs/docfx.json | 111 ++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 65 deletions(-) diff --git a/docs/docfx.json b/docs/docfx.json index 42cbd56c1..d976a7a45 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -1,69 +1,50 @@ { - "metadata":[ + "metadata": [{ + "src": [{ + "src": "../src", + "files": [ + "**.csproj" + ] + }], + "dest": "api", + "filter": "filterConfig.yml", + "properties": { + "TargetFramework": "netstandard1.3" + } + }], + "build": { + "content": [{ + "files": ["api/**.yml", "api/index.md"] + }, { - "src":[ - { - "src":"../src", - "files":[ - "**.csproj" - ] - } - ], - "dest":"api", - "filter":"filterConfig.yml", - "properties":{ - "TargetFramework":"netstandard1.3" - } - } - ], - "build":{ - "content":[ - { - "files":[ - "api/**.yml", - "api/index.md" - ] - }, - { - "files":[ - "guides/**.md", - "guides/**/toc.yml", - "faq/**.md", - "faq/**/toc.yml", - "toc.yml", - "*.md" - ], - "exclude":[ - "obj/**", - "_site/**" - ] - } - ], - "resource":[ - { - "files":[ - "**/images/**", - "**/samples/**" - ], - "exclude":[ - "obj/**", - "_site/**" - ] - } - ], - "dest":"_site", - "template":[ - "default", - "_template/light-dark-theme" - ], - "overwrite": "_overwrites/**/**.md", - "globalMetadata":{ - "_appFooter":"Discord.Net (c) 2015-2018 2.0.0-beta", - "_enableSearch":true + "files": ["toc.yml", "index.md"] }, - "noLangKeyword":false, - "xrefService":[ - "https://xref.docs.microsoft.com/query?uid={uid}" + { + "files": ["faq/**.md", "faq/**/toc.yml"] + }, + { + "files": ["guides/**.md", "guides/**/toc.yml"] + } + ], + "resource": [{ + "files": [ + "**/images/**", + "**/samples/**" ] - } -} \ No newline at end of file + }], + "dest": "_site", + "template": [ + "default", + "_template/light-dark-theme" + ], + "overwrite": "_overwrites/**/**.md", + "globalMetadata": { + "_appFooter": "Discord.Net (c) 2015-2018 2.0.0-beta", + "_enableSearch": true + }, + "noLangKeyword": false, + "xrefService": [ + "https://xref.docs.microsoft.com/query?uid={uid}" + ] + } +}