Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket 0.1 #20

Merged
merged 182 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
86d5fba
feat: WebSocket module scaffolding ( Fixes #1 )
Nov 27, 2024
0e86ae6
feat: WebSocket Workflow ( Fixes #3, Fixes #4 )
Nov 27, 2024
af0c39e
feat: WebSocket Workflow ( Fixes #3, Fixes #4 )
Nov 27, 2024
0a13568
feat: WebSocket Module source ( Fixes #7 )
Nov 27, 2024
2b77c37
feat: Get-WebSocket ( Fixes #2 )
Nov 27, 2024
089aa75
feat: WebSocket logo ( Fixes #5 )
Nov 27, 2024
280e883
feat: WebSocket logo ( Fixes #5 )
Nov 27, 2024
90e7ca6
feat: WebSocket logo ( Fixes #5 )
Nov 27, 2024
46c381d
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
f6658e3
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
0aa18f8
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
0978841
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
ab26df1
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
771a43e
feat: HelpOut WebSocket ( Fixes #9 )
Nov 27, 2024
3f287c8
docs: Adding Logo to README
Nov 27, 2024
2aba929
docs: Adding Logo to README
Nov 27, 2024
bab63cf
docs: CONTRIBUTING.md ( Fixes #11 )
Nov 27, 2024
6c13a8f
docs: CONTRIBUTING.md ( Fixes #11 )
Nov 27, 2024
1909b03
docs: CODE_OF_CONDUCT.md ( Fixes #13 )
Nov 27, 2024
4f72513
docs: CODE_OF_CONDUCT.md ( Fixes #13 )
Nov 27, 2024
ba666c9
docs: CODE_OF_CONDUCT.md ( Fixes #13 )
Nov 27, 2024
3b4ccef
docs: SECURITY.md ( Fixes #12 )
Nov 27, 2024
a748a6e
docs: SECURITY.md ( Fixes #12 )
Nov 27, 2024
86c76a2
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
e6b3c2c
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
56072ce
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
49930e5
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
c53c28c
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
bfc7b98
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
2dcf755
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
4328c5c
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
c986225
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
4a5c2bb
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
df53cfd
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
85480cf
style: WebSocket logo ( Fixes #5 )
Nov 27, 2024
1b54408
Merge branch 'Initialize-WebSocket' of https://github.com/PowerShellW…
Nov 27, 2024
7b46b1f
Merge branch 'Initialize-WebSocket' of https://github.com/PowerShellW…
Nov 27, 2024
d5cf66e
Merge branch 'Initialize-WebSocket' of https://github.com/PowerShellW…
Nov 27, 2024
e9ef7e1
Merge branch 'Initialize-WebSocket' of https://github.com/PowerShellW…
Nov 27, 2024
0be8a26
Merge branch 'Initialize-WebSocket' of https://github.com/PowerShellW…
Nov 27, 2024
eac4372
feat: Get-WebSocket ( Fixes #2 )
Nov 27, 2024
0d1a643
feat: Get-WebSocket ( Fixes #2 )
Nov 27, 2024
40b2796
feat: Get-WebSocket ( Fixes #2 )
Nov 27, 2024
241f7fb
docs: README content ( Fixes #1 )
Nov 27, 2024
f7c4532
docs: README content ( Fixes #1 )
Nov 27, 2024
729763d
docs: README content ( Fixes #1 )
Nov 27, 2024
8e0e290
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
7b9283a
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
a4614b2
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
c8c5fc2
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
76bf328
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
c7c8df1
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
789efd6
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
880cf02
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
4c44b36
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
016359a
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
33983ea
style: WebSocket Logo ( Fixes #5 )
Nov 27, 2024
5e5e1e1
feat: WebSocket Container.init.ps1 ( Fixes #16 )
Nov 27, 2024
a117c89
feat: WebSocket Container.start.ps1 ( Fixes #17 )
Nov 27, 2024
780aa40
feat: WebSocket Container.stop.ps1 ( Fixes #18 )
Nov 27, 2024
cdad7e3
feat: WebSocket Dockerfile ( Fixes #15 )
Nov 27, 2024
f44e5b9
feat: WebSocket Container ( Fixes #8 )
Nov 27, 2024
b35781b
feat: WebSocket Example fix ( Fixes #2 )
Nov 27, 2024
b505e85
feat: WebSocket Example fix ( Fixes #2 )
Nov 27, 2024
8ce2317
feat: WebSocket Example fix ( Fixes #2 )
Nov 27, 2024
b10c3d5
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
21eb01b
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
10137ed
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
930aaef
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
0f00383
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
8877a85
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
4ba317a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
3cceb62
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
acfc841
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d7fd968
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
78c2705
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
f6c2448
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
f895871
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
e3efbe7
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
bd40b33
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
7909397
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
4301093
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ecd3e74
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
05e4de5
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
5407594
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
083317f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d80f193
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
29aed7e
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
1997b0f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
b0152e8
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
f58f466
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
0c8169a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6a7ecc2
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
5b5d182
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
fa733b6
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
60cda92
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
93180be
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a55c47a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d4c1711
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
1c2bd5a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
0a4cb19
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d1f1755
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
50825a3
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
9deb696
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ddb392c
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
7a3f229
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ef8f6d7
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
714e369
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
aae83c4
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a80a847
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
8ee3e89
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6394e9e
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
54597e4
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c9d9116
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
e4b2796
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
967e834
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
22d047e
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
bb8ccaa
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
e18c100
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c6515f0
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
748de7a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
af833c6
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
bc6340f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ed3abf7
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d3eab5b
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d3e84cc
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
81629fa
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
7190acd
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
2dd94cf
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
0f89b6e
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c7da0df
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a5974a7
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
b3226c4
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6d9c11d
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
8759861
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
01ba79f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
8761bfa
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6b0badf
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6f1f283
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
656684d
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
1c038ff
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
20fa663
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
1abce22
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
dc1fd2f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
33636a5
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a87ed20
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
3e10735
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
795fb39
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
4f0b13c
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6b2f950
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
e62753f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
8b2daf2
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
63f9cb2
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
897a564
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
26b24b4
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a30aac4
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
090c39b
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
788a2b2
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
afbe3b7
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
e7837a3
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c4dfe6f
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ac6ed25
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
26d3de6
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6e63e47
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d3baedb
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
46864b0
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
97d89ba
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
a6ae4d6
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c73cadd
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6d7fd85
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
d7827e8
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
c22220a
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6f61b83
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
ddf3042
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
322ce7e
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
81bcc2b
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
843bfaf
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
6ba2aa8
feat: WebSocket Website ( Fixes #19 )
Nov 27, 2024
1d14b74
release: WebSocket 0.1 ( Fixes #1 )
Nov 27, 2024
15d58b8
release: WebSocket 0.1 ( Fixes #1 )
Nov 27, 2024
ffe7ec4
release: WebSocket 0.1 ( Fixes #1 )
Nov 27, 2024
3794b3f
release: WebSocket 0.1 ( Fixes #1 )
Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
552 changes: 552 additions & 0 deletions .github/workflows/BuildWebSocket.yml

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions Assets/WebSocket-Animated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Assets/WebSocket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions Build/GitHub/Jobs/BuildWebSocket.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@{
"runs-on" = "ubuntu-latest"
if = '${{ success() }}'
steps = @(
@{
name = 'Check out repository'
uses = 'actions/checkout@v2'
},
@{
name = 'GitLogger'
uses = 'GitLogging/GitLoggerAction@main'
id = 'GitLogger'
},
@{
name = 'Use PSSVG Action'
uses = 'StartAutomating/PSSVG@main'
id = 'PSSVG'
},
@{
name = 'Use PipeScript Action'
uses = 'StartAutomating/PipeScript@main'
id = 'PipeScript'
},
'RunEZOut',
'RunHelpOut',
@{
name = 'Use PSJekyll Action'
uses = 'PowerShellWeb/PSJekyll@main'
id = 'PSJekyll'
},
<#@{
name = 'Run WebSocket (on branch)'
if = '${{github.ref_name != ''main''}}'
uses = './'
id = 'WebSocketAction'
},#>
'BuildAndPublishContainer'
)
}
57 changes: 57 additions & 0 deletions Build/GitHub/Steps/BuildAndPublishContainer.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
@{
'name'='Log in to ghcr.io'
'uses'='docker/login-action@master'
'with'=@{
'registry'='${{ env.REGISTRY }}'
'username'='${{ github.actor }}'
'password'='${{ secrets.GITHUB_TOKEN }}'
}
env = @{
'REGISTRY'='ghcr.io'
}
}
@{
name = 'Extract Docker Metadata (for branch)'
if = '${{github.ref_name != ''main'' && github.ref_name != ''master'' && github.ref_name != ''latest''}}'
id = 'meta'
uses = 'docker/metadata-action@master'
with = @{
'images'='${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}'
}
env = @{
REGISTRY = 'ghcr.io'
IMAGE_NAME = '${{ github.repository }}'
}
}
@{
name = 'Extract Docker Metadata (for main)'
if = '${{github.ref_name == ''main'' || github.ref_name == ''master'' || github.ref_name == ''latest''}}'
id = 'metaMain'
uses = 'docker/metadata-action@master'
with = @{
'images'='${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}'
'flavor'='latest=true'
}
}
@{
name = 'Build and push Docker image (from main)'
if = '${{github.ref_name == ''main'' || github.ref_name == ''master'' || github.ref_name == ''latest''}}'
uses = 'docker/build-push-action@master'
with = @{
'context'='.'
'push'='true'
'tags'='${{ steps.metaMain.outputs.tags }}'
'labels'='${{ steps.metaMain.outputs.labels }}'
}
}
@{
name = 'Build and push Docker image (from branch)'
if = '${{github.ref_name != ''main'' && github.ref_name != ''master'' && github.ref_name != ''latest''}}'
uses = 'docker/build-push-action@master'
with = @{
'context'='.'
'push'='true'
'tags'='${{ steps.meta.outputs.tags }}'
'labels'='${{ steps.meta.outputs.labels }}'
}
}
15 changes: 15 additions & 0 deletions Build/WebSocket.GitHubWorkflow.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#requires -Module PSDevOps
Import-BuildStep -SourcePath (
Join-Path $PSScriptRoot 'GitHub'
) -BuildSystem GitHubWorkflow

Push-Location ($PSScriptRoot | Split-Path)
New-GitHubWorkflow -Name "Build WebSocket Module" -On Push,
PullRequest,
Demand -Job TestPowerShellOnLinux,
TagReleaseAndPublish, BuildWebSocket -Environment ([Ordered]@{
REGISTRY = 'ghcr.io'
IMAGE_NAME = '${{ github.repository }}'
}) -OutputPath .\.github\workflows\BuildWebSocket.yml

Pop-Location
14 changes: 14 additions & 0 deletions Build/WebSocket.HelpOut.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#requires -Module HelpOut

#region Load the Module
$ModuleName = 'WebSocket'
Push-Location ($PSScriptRoot | Split-Path)
if (-not (Get-Module $ModuleName)) {
Import-Module .\ -Global -PassThru | Out-Host
}
#endregion Load the Module

# This will save the MarkdownHelp to the docs folder, and output all of the files created.
Save-MarkdownHelp -PassThru -Module $ModuleName -ExcludeCommandType Alias

Pop-Location
119 changes: 119 additions & 0 deletions Build/WebSocket.PSJekyll.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
$sitePath = Join-Path ($PSScriptRoot | Split-Path) 'docs'

$sourceModule = Get-Module PSJekyll
if (-not $sourceModule) {
$sourceModule = Import-Module ($PSScriptRoot | Split-Path) -PassThru
}


Push-Location $sitePath
$PSJekyll.CurrentSite.Domain = "websocket.powershellweb.com"
$PSJekyll.CurrentSite.Data = @{LastDateBuilt = [datetime]::UtcNow.Date.ToString('yyyy-MM-dd')}
$PSJekyll.CurrentSite.Data = @{
"PSModule/Info" = $sourceModule |
Select-Object -Property Name,
Version,
Description,
Copyright,
CompanyName,
Author,
@{
Name = 'Tags'
Expression = { @($_.PrivateData.PSData.Tags | Select-Object -Unique)}
}
"PSModule/Exports" = @(
foreach ($command in $sourceModule.ExportedCommands.Values) {
[Ordered]@{
Name = $command.Name
CommandType = $command.CommandType
Definition = $command.Definition
ParameterName = $command.Parameters.Keys
Parameter = @(
$command.Parameters.Values |
Select-Object -Property Name,
@{
Name='ParameterType'
Expression = { $_.ParameterType.ToString() }
},
Position,
Mandatory,
ValueFromPipeline,
ValueFromPipelineByPropertyName,
ValueFromRemainingArguments,
HelpMessage
)
}
}
)

"PSModule/FunctionNames" = $sourceModule.ExportedFunctions.Keys
"PSModule/CmdletNames" = $sourceModule.ExportedCmdlets.Keys
"PSModule/AliasNames" = $sourceModule.ExportedAliases.Keys
"PSModule/Aliases" = @($sourceModule.ExportedAliases.Values |
ForEach-Object { [Ordered]@{Name=$_.Name;Definition=$_.Definition} })

"PSModule/VariableNames" = $sourceModule.ExportedVariables.Keys
"PSModule/TypeNames" = $sourceModule.ExportedTypeFiles |
ForEach-Object { (Select-Xml -XPath //Types/Type -Path $_).Node.Name }

}
$PSJekyll.CurrentSite.Data
# It is important to use [Ordered], otherwise, the order of the keys will be random.
# (this will generate more changes than necessary in the git repository, and will be noisier than desired)
$PSJekyll.CurrentSite.Config = [Ordered]@{
title = "WebSocket"
description = "Work with WebSockets in PowerShell"
url = "https://websocket.powershellweb.com"
permalink = 'pretty'
palette = 'Konsolas'
analyticsId = 'G-R5C30737B2'
googleFont = 'Noto Sans'
stylesheet = 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'
defaults = @([Ordered]@{
values = @{layout='Default'}
})
}
$PSJekyll.CurrentSite.Config

foreach ($templateMember in $PSJekyll.Template.psobject.Members) {
if ($templateMember.Name -notmatch '^(?>layout|include)\p{P}{0,}') {
continue
}
$templateFileType = $matches.0 -replace '\p{P}{0,}$'
$templateFileName = $templateMember.Name -replace "^$([Regex]::Escape($templateFileType))\p{P}{0,}"

if ($templateMember.Name -notmatch '\.([^\.]+?)$') {
$templateFileName += '.html'
}
$templateOut =
if ($templateMember.Invoke) {
$templateMember.Invoke()
} else {
$templateMember.Value
}
try {
$PSJekyll.CurrentSite.$templateFileType = $templateFileName, $templateOut
} catch {
$err = $_
Write-Error -Message "Failed to set $templateFileName of $templateFileType : $err"
}
}

$PSJekyll.CurrentSite.Page = 'Tree', "{% include SiteTree.html %}"
$PSJekyll.CurrentSite.Page = 'Repos', "{% include Repos.md %}"
$PSJekyll.CurrentSite.Page = 'Releases', "{% include Releases.md %}"
$PSJekyll.CurrentSite.Page = 'Contibutors', "{% include Contributor.md %}"
$PSJekyll.CurrentSite.Page = 'Members', "{% include OrgMember.md %}"
$PSJekyll.CurrentSite.Page = 'Function', "{% include PSFunctions.md %}"
$PSJekyll.CurrentSite.Page = 'Functions', "{% include PSFunctions.md %}"
$PSJekyll.CurrentSite.Page = 'Alias', "{% include PSAlias.md %}"
$PSJekyll.CurrentSite.Page = 'Aliases', "{% include PSAlias.md %}"
$PSJekyll.CurrentSite.Page = 'Cmdlet', "{% include PSCmdlet.md %}"
$PSJekyll.CurrentSite.Page = 'Cmdlets', "{% include PSCmdlet.md %}"
$PSJekyll.CurrentSite.Page = 'PSTag', "{% include PSTag.md %}"
$PSJekyll.CurrentSite.Page = 'PSTypeName', "{% include PSTypeName.md %}"
$PSJekyll.CurrentSite.Layout
$PSJekyll.CurrentSite.Include
$PSJekyll.CurrentSite.Page

Pop-Location
Loading
Loading