Skip to content

Commit c50f986

Browse files
🩹 [Patch]: Improve output formatting and streamline markdown file handling in Build-PSModuleDocumentation
1 parent 71c21f4 commit c50f986

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎scripts/helpers/Build-PSModuleDocumentation.ps1‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,17 @@
6666
Force = $true
6767
}
6868
$null = New-MarkdownCommandHelp @params
69-
Write-Host ' - ✓' -ForegroundColor Green
69+
Write-Host " - $($PSStyle.Foreground.Green)✓$($PSStyle.Reset)"
7070
} catch {
71-
Write-Host ' - ✗' -ForegroundColor Red
71+
Write-Host " - $($PSStyle.Foreground.Red)✗$($PSStyle.Reset)"
7272
$_
7373
}
7474
}
7575

76+
Write-Host '::group::Build docs - Generated files'
77+
Get-ChildItem -Path $docsOutputFolder -Recurse | Select-Object -ExpandProperty FullName
78+
Write-Host '::endgroup::'
79+
7680
Get-ChildItem -Path $DocsOutputFolder -Recurse -Force -Include '*.md' | ForEach-Object {
7781
$fileName = $_.Name
7882
Write-Host "::group:: - [$fileName]"

0 commit comments

Comments
 (0)