From e229432d0f373990adb8b8641cbec0a3812bbaa4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 12 Dec 2022 10:28:43 +0100 Subject: [PATCH] updated docfx and removed analytics from docs site --- .config/dotnet-tools.json | 2 +- Docs/docfx.json | 3 +- .../custom/partials/head.tmpl.partial | 32 ------------------- build.cake | 2 +- 4 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 Docs/templates/custom/partials/head.tmpl.partial diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index c8bb929..23e1c93 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "2.2.0", + "version": "3.0.0", "commands": [ "dotnet-cake" ] diff --git a/Docs/docfx.json b/Docs/docfx.json index d5534df..caf771e 100644 --- a/Docs/docfx.json +++ b/Docs/docfx.json @@ -45,8 +45,7 @@ "fileMetadataFiles": [], "template": [ "default", - "templates/darkfx", - "templates/custom" + "templates/darkfx" ], "postProcessors": [], "markdownEngineName": "markdig", diff --git a/Docs/templates/custom/partials/head.tmpl.partial b/Docs/templates/custom/partials/head.tmpl.partial deleted file mode 100644 index 2da49e6..0000000 --- a/Docs/templates/custom/partials/head.tmpl.partial +++ /dev/null @@ -1,32 +0,0 @@ -{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} - - - - - {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}} - - - - {{#_description}}{{/_description}} - - - - - - - {{#_noindex}}{{/_noindex}} - {{#_enableSearch}}{{/_enableSearch}} - {{#_enableNewTab}}{{/_enableNewTab}} - - - - - diff --git a/build.cake b/build.cake index 793d766..4e42323 100644 --- a/build.cake +++ b/build.cake @@ -1,5 +1,5 @@ #addin Cake.DocFx&version=1.0.0 -#tool docfx.console&version=2.58.9 +#tool docfx.console&version=2.59.4 // this is the upcoming version, for prereleases var version = Argument("version", "6.1.0");