From acc889276cfc2be442015e905570fffd7c41cd9a Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Tue, 19 Nov 2024 23:18:59 +1300 Subject: [PATCH] Add category for sixel support function for docs --- PwshSpectreConsole.Docs/src/powershell/Helpers.psm1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PwshSpectreConsole.Docs/src/powershell/Helpers.psm1 b/PwshSpectreConsole.Docs/src/powershell/Helpers.psm1 index 9c92e57..7c863d9 100644 --- a/PwshSpectreConsole.Docs/src/powershell/Helpers.psm1 +++ b/PwshSpectreConsole.Docs/src/powershell/Helpers.psm1 @@ -3,7 +3,7 @@ $script:Groups = @( @{ Name = "Formatting/"; Matches = @("layout", "format-", "new-spectrechartitem", "new-spectregridrow", "add-spectretablerow") } @{ Name = "Images/"; Matches = @("image") } @{ Name = "Writing/"; Matches = @("out-", "write-", "escaped", "size") } - @{ Name = "Config/"; Matches = @("set-", "recording") } + @{ Name = "Config/"; Matches = @("set-", "recording", 'test-spectresixelsupport') } @{ Name = "Demo/"; Matches = @("spectredemo") } @{ Name = "Live/"; Matches = @("live", "invoke-spectrecommand", "invoke-spectreprogress", "job", "spectrescriptblock") } ) @@ -23,7 +23,8 @@ function Get-Group { param ( [string] $Name ) - $group = @{ Name = "/" } + # Default group + $group = @{ Name = "Config/" } foreach ($testGroup in $script:Groups) { foreach ($match in $testGroup.Matches) { if ($Name -like "*$match*") {