Skip to content

Commit 185a8bb

Browse files
authored
Update generate_docs.ps1
1 parent 3a8176a commit 185a8bb

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
@@ -198,7 +198,7 @@ function New-TableOfContents {
198198
[void]$StringBuilder.AppendLine("$spaces")
199199

200200
[void]$StringBuilder.AppendLine("| Rule Id | Friendly Name | Ignorable | Description | Example? |")
201-
[void]$StringBuilder.AppendLine("|----|----|----|----|")
201+
[void]$StringBuilder.AppendLine("|----|----|----|----|----|")
202202
foreach ($rule in ($category.Group | Sort-Object -Property RuleId )) {
203203
$ruleId = "[$($Rule.RuleId)]($($category.Name)/$($Rule.RuleId).md)"
204204
[void]$StringBuilder.AppendLine("| $ruleId | $($Rule.FriendlyName -replace "\|", "|") | $($Rule.IsIgnorable) | $($Rule.Description -replace "\|", "|") | $(if ([string]::IsNullOrWhiteSpace($Rule.Example)) { " " } else { "Yes" }) |")

0 commit comments

Comments
 (0)