#requires -Module PSSVG Push-Location $PSScriptRoot $assetsRoot = Join-Path $PSScriptRoot "Assets" if (-not (Test-Path $assetsRoot)) { $null = New-Item -ItemType Directory -Path $assetsRoot } $docsRoot = Join-Path $PSScriptRoot "docs" if (-not (Test-Path $docsRoot)) { $null = New-Item -ItemType Directory -Path $docsRoot } $guideLogo = = -ViewBox 200, 100 -Content @( = @( = -Type 'text/css' @' @import url('https://fonts.googleapis.com/css?family=Righteous') '@ ) = -Theta 42 -Alpha 50 -stroke '#4488ff' -Class foreground-stroke -Transform "translate(25) scale(1.6,1) skewX(-10) skewY(-15)" -Opacity .25 -StrokeWidth 0.5 = -Id psChevron -Content @( = -Points (@( "40,20" "45,20" "60,50" "35,80" "32.5,80" "55,50" ) -join ' ') ) -ViewBox 100, 100 = -Href '#psChevron' -Width 100% -Height 100% -Fill '#4488ff' -X 10% -Class foreground-fill = -Content 'PowerShell' -DominantBaseline 'middle' -TextAnchor 'end' -X 55% -Y 50% -Fill '#4488ff' -Style "font-family: 'Righteous';" -Class foreground-fill = -Content 'Guide' -DominantBaseline 'middle' -TextAnchor 'guide' -X 67.5% -Y 50% -Fill '#4488ff' -Style "font-family: 'Righteous';" -Class foreground-fill ) -OutputPath (Join-Path $assetsRoot .\PowerShellGuide.svg) $guideLogo $guideLogo | Copy-Item -Destination (Join-Path $PSScriptRoot docs) -PassThru Pop-Location