Skip to content

Commit c4f38a8

Browse files
Refactor Build-PSModuleDocumentation.ps1 to improve output formatting; adjust spacing in Write-Host messages for better alignment.
1 parent d7a1d5d commit c4f38a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/helpers/Build-PSModuleDocumentation.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
$file = $_
9393
$relPath = [System.IO.Path]::GetRelativePath($DocsOutputFolder.FullName, $file.FullName)
9494
Write-Host " - $relPath"
95-
Write-Host " Path: $file"
95+
Write-Host " Path: $file"
9696

9797
# find the source code file that matches the markdown file
9898
$scriptPath = Get-ChildItem -Path $PublicFunctionsFolder -Recurse -Force | Where-Object { $_.Name -eq ($file.BaseName + '.ps1') }
@@ -109,10 +109,10 @@
109109
$file = $_
110110
$relPath = [System.IO.Path]::GetRelativePath($PublicFunctionsFolder.FullName, $file.FullName)
111111
Write-Host " - $relPath"
112-
Write-Host " Path: $file"
112+
Write-Host " Path: $file"
113113

114114
$docsFilePath = ($file.FullName).Replace($PublicFunctionsFolder.FullName, $DocsOutputFolder.FullName)
115-
Write-Host " MD path: $docsFilePath"
115+
Write-Host " MD path: $docsFilePath"
116116
$docsFolderPath = Split-Path -Path $docsFilePath -Parent
117117
$null = New-Item -Path $docsFolderPath -ItemType Directory -Force
118118
Move-Item -Path $file.FullName -Destination $docsFilePath -Force

0 commit comments

Comments
 (0)