We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7f1b3 commit 3c0f0e9Copy full SHA for 3c0f0e9
docs/build-dev.ps1
@@ -4,7 +4,9 @@
4
5
param(
6
# Specify -NoBuild to skip code build and examples generation. This runs faster, so handy when only editing Markdown files.
7
- [switch] $NoBuild=$False
+ [switch] $NoBuild=$False,
8
+ # Specify -NoOpen to skip opening the documentation website in a web browser.
9
+ [switch] $NoOpen=$False
10
)
11
12
function VerifySuccessExitCode {
@@ -53,9 +55,12 @@ Copy-Item -Force -Recurse home/assets/* _site/styles/
53
55
54
56
cd _site
57
$webServerJob = httpserver &
-Start-Process "http://localhost:8080/"
58
cd ..
59
60
+if (-Not $NoOpen) {
61
+ Start-Process "http://localhost:8080/"
62
+}
63
+
64
Write-Host ""
65
Write-Host "Web server started. Press Enter to close."
66
$key = [Console]::ReadKey()
0 commit comments