From a4cfc0f7c0a80d235d2812cc20c983f3a6cadd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steinar=20Elgs=C3=A6ter?= Date: Fri, 23 Feb 2024 08:57:39 +0100 Subject: [PATCH] - clear old site when creatin new docs from script - needed to add images folder as resources in docfx.config --- docs/docfx.json | 2 +- scripts/createdocs.bat | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docfx.json b/docs/docfx.json index 06f312f..616d073 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -33,7 +33,7 @@ "resource": [ { "files": [ - "images/**", + "articles/images/**", "index.html" ] } diff --git a/scripts/createdocs.bat b/scripts/createdocs.bat index a1a43b4..0df970d 100644 --- a/scripts/createdocs.bat +++ b/scripts/createdocs.bat @@ -1,2 +1,3 @@ +del /q /s ..\docs\_site\*.* C:\Users\STELG\.nuget\packages\docfx.console\2.59.4\tools\docfx ..\docs\docfx.json pause \ No newline at end of file