Skip to content

Commit b6fb1e2

Browse files
authored
Update documentation.yml
Correct indentation for PowerShell.
1 parent 8452e07 commit b6fb1e2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- 'Sources/**/*.swift'
99
- .github/workflows/documentation.yml
10+
workflow_dispatch:
1011

1112
jobs:
1213
document:
@@ -75,12 +76,12 @@ jobs:
7576
foreach ($module in "CoreGraphics","SwiftWin32","SwiftWin32UI") {
7677
Get-ChildItem -Path site\$module -Recurse -File -Include "*.md" -Exclude _Footer.md,_Sidebar.md,index.md | ForEach-Object {
7778
Set-Content $_.FullName -value @"
78-
---
79-
layout: default
80-
title: $(_.BaseName -replace '(?<=\w)_','.')
81-
parent: $($_.Directory.BaseName)
82-
---
83-
"@,$(Get-Content $_.FullName)
79+
---
80+
layout: default
81+
title: $(_.BaseName -replace '(?<=\w)_','.')
82+
parent: $($_.Directory.BaseName)
83+
---
84+
"@,$(Get-Content $_.FullName)
8485
}
8586
}
8687

0 commit comments

Comments
 (0)