From d3a7709e4ba6100873ca236f674b49d4c63b9b6f Mon Sep 17 00:00:00 2001 From: Emanuel Palm Date: Sat, 6 Jan 2024 16:01:20 +0100 Subject: [PATCH] root folder missing from docs path with platyps tasks --- .build/tasks/PlatyPS.UpdateExternalHelp.ps1 | 2 +- .build/tasks/PlatyPS.UpdateMarkdownHelp.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.build/tasks/PlatyPS.UpdateExternalHelp.ps1 b/.build/tasks/PlatyPS.UpdateExternalHelp.ps1 index 8541785..8f902c1 100644 --- a/.build/tasks/PlatyPS.UpdateExternalHelp.ps1 +++ b/.build/tasks/PlatyPS.UpdateExternalHelp.ps1 @@ -3,5 +3,5 @@ task updateExternalHelp { Import-Module 'platyPS' -ErrorAction 'Stop' $ModuleManifestPath = (Get-Module -ListAvailable "$BuildModuleOutput/$ProjectName" | Sort-Object Version -Descending | Select-Object -First 1).Path $ModuleVersionPath = Split-Path -Path $ModuleManifestPath -Parent - New-ExternalHelp "$HelpSourceFolder/$HelpOutputFolder" -OutputPath "$ModuleVersionPath/$HelpCultureInfo" -Force + New-ExternalHelp "$BuildModuleOutput/$HelpSourceFolder/$HelpOutputFolder" -OutputPath "$ModuleVersionPath/$HelpCultureInfo" -Force } \ No newline at end of file diff --git a/.build/tasks/PlatyPS.UpdateMarkdownHelp.ps1 b/.build/tasks/PlatyPS.UpdateMarkdownHelp.ps1 index f0dc434..b69c0a1 100644 --- a/.build/tasks/PlatyPS.UpdateMarkdownHelp.ps1 +++ b/.build/tasks/PlatyPS.UpdateMarkdownHelp.ps1 @@ -2,5 +2,5 @@ task updateMarkdownHelp { Import-Module 'platyPS' -ErrorAction 'Stop' $ProjectName = Get-SamplerProjectName -BuildRoot $BuildRoot Import-Module "$BuildModuleOutput/$ProjectName" -Force -ErrorAction 'Stop' - Update-MarkdownHelpModule -Path "$HelpSourceFolder/$HelpOutputFolder" + Update-MarkdownHelpModule -Path "$BuildModuleOutput/$HelpSourceFolder/$HelpOutputFolder" } \ No newline at end of file