Skip to content

Commit 499e4a5

Browse files
Merge branch 'fixFolders' of https://github.com/PSModule/Document-PSModule into fixFolders
2 parents e9eafda + 4260607 commit 499e4a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/helpers/Build-PSModuleDocumentation.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
Write-Host '::group::Build docs - Generate markdown help - Raw'
4949
Install-PSModule -Path $ModuleOutputFolder
50-
$moduleInfo = Import-Module -Name $ModuleName -PassThru -Verbose:$false
50+
$moduleInfo = Import-Module -Name $ModuleName -PassThru -Verbose:$false -Force
5151

5252
# Get all exported commands from the module
5353
$commands = $moduleInfo.ExportedCommands.Values | Where-Object { $_.CommandType -ne 'Alias' }
@@ -138,7 +138,7 @@
138138
$content | Set-Content -Path $_.FullName
139139
}
140140

141-
Write-Host '::group::Build docs - Move markdown files from source files to docs'
141+
Write-Host '::group::Build docs - Move markdown files from public functions folder to docs output folder'
142142
Get-ChildItem -Path $PublicFunctionsFolder -Recurse -Force -Include '*.md' | ForEach-Object {
143143
$file = $_
144144
$relPath = [System.IO.Path]::GetRelativePath($PublicFunctionsFolder.FullName, $file.FullName)

0 commit comments

Comments
 (0)