Skip to content

Commit

Permalink
Add category for sixel support function for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Nov 19, 2024
1 parent 88ea149 commit acc8892
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PwshSpectreConsole.Docs/src/powershell/Helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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") }
)
Expand All @@ -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*") {
Expand Down

0 comments on commit acc8892

Please sign in to comment.