diff --git a/docs/build.ps1 b/docs/build.ps1 index d01a8922..9cab9f9a 100644 --- a/docs/build.ps1 +++ b/docs/build.ps1 @@ -4,14 +4,15 @@ foreach ($environment in $exampleEnvironments) { # bootstrap environment $galleryPath = Join-Path $environment.FullName "Gallery" + New-Item -Path $galleryPath -Force -ItemType Directory Write-Host (Test-Path $galleryPath) Get-ChildItem -Path "..\src\bin\Release" -Filter *.nupkg | Copy-Item -Destination $galleryPath Get-ChildItem -Path $galleryPath | Write-Host - # . (Join-Path $environment.FullName "Setup.ps1") + . (Join-Path $environment.FullName "Setup.ps1") - # # export example workflows - # $workflowPath = $environment.Parent.FullName - # $bootstrapperPath = Join-Path $environment.FullName "Bonsai.exe" - # .\bonsai\modules\Export-Image.ps1 -workflowPath $workflowPath -bootstrapperPath $bootstrapperPath + # export example workflows + $workflowPath = $environment.Parent.FullName + $bootstrapperPath = Join-Path $environment.FullName "Bonsai.exe" + .\bonsai\modules\Export-Image.ps1 -workflowPath $workflowPath -bootstrapperPath $bootstrapperPath } # dotnet docfx @args \ No newline at end of file