File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 7575 Write-Host ' ::group::Build docs - Generated files'
7676 Get-ChildItem - Path $docsOutputFolder - Recurse | Select-Object - ExpandProperty FullName
7777
78- Get-ChildItem - Path $docsOutputFolder - Recurse - Force - Include ' *.md' | ForEach-Object {
79- $fileName = $_ .Name
80- Write-Host " ::group:: - [$fileName ]"
78+ Get-ChildItem - Path $docsOutputFolder - Recurse - Force - Include ' *.md' | Sort-Object FullName | ForEach-Object {
79+ $relPath = [ System.IO.Path ]::GetRelativePath( $docsOutputFolder , $_ .FullName )
80+ Write-Host " ::group:: - [$relPath ]"
8181 Show-FileContent - Path $_
8282 }
8383
151151 $null = New-Item - Path $docsFolderPath - ItemType Directory - Force
152152 Move-Item - Path $file.FullName - Destination $docsFilePath - Force
153153 }
154- Write-Host " ::endgroup::"
155-
154+ Write-Host ' ::endgroup::'
155+
156156 Write-Host ' ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ'
157157 Get-ChildItem - Path $docsOutputFolder - Recurse - Force - Include ' *.md' | Sort-Object FullName | ForEach-Object {
158158 $relPath = [System.IO.Path ]::GetRelativePath($docsOutputFolder , $_.FullName )
You canβt perform that action at this time.
0 commit comments