Skip to content

Commit b6f1aa5

Browse files
authored
Update generate_docs.ps1
1 parent 7e51427 commit b6f1aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate_docs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function New-TableOfContents {
201201
[void]$StringBuilder.AppendLine("|----|----|----|----|")
202202
foreach ($rule in ($category.Group | Sort-Object -Property RuleId )) {
203203
$ruleId = "[$($Rule.RuleId)]($($category.Name)/$($Rule.RuleId).md)"
204-
[void]$StringBuilder.AppendLine("| $ruleId | $($Rule.FriendlyName -replace "\|", "|") | $($Rule.IsIgnorable) | $($Rule.Description -replace "\|", "|") | $(if ([string]::IsNullOrWhiteSpace($Rule.Example)) { "-" } else { "Yes" }) |")
204+
[void]$StringBuilder.AppendLine("| $ruleId | $($Rule.FriendlyName -replace "\|", "|") | $($Rule.IsIgnorable) | $($Rule.Description -replace "\|", "|") | $(if ([string]::IsNullOrWhiteSpace($Rule.Example)) { " " } else { "Yes" }) |")
205205
}
206206
}
207207

0 commit comments

Comments
 (0)