aboutsummaryrefslogtreecommitdiff
path: root/dev_tools/scripts
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-05 21:08:07 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-05 21:08:07 +0800
commitd3b4027f5926569cb9371b2ea62b6be9387ea650 (patch)
treed6c9de16cea03253273ad7c89eadc401e5e105b2 /dev_tools/scripts
parent97853f47489ab58b63e08854f579ae776e5a2d1f (diff)
Add example pages and sync-examples tool for docs
Diffstat (limited to 'dev_tools/scripts')
-rw-r--r--dev_tools/scripts/http-page-preview.ps11
-rwxr-xr-xdev_tools/scripts/http-page-preview.sh1
2 files changed, 0 insertions, 2 deletions
diff --git a/dev_tools/scripts/http-page-preview.ps1 b/dev_tools/scripts/http-page-preview.ps1
index 79ed77a..8cc3579 100644
--- a/dev_tools/scripts/http-page-preview.ps1
+++ b/dev_tools/scripts/http-page-preview.ps1
@@ -1,4 +1,3 @@
$starting_dir = Get-Location
-Set-Location "docs"
python -m http.server 3000
Set-Location $starting_dir
diff --git a/dev_tools/scripts/http-page-preview.sh b/dev_tools/scripts/http-page-preview.sh
index 6c822d8..bed4b1c 100755
--- a/dev_tools/scripts/http-page-preview.sh
+++ b/dev_tools/scripts/http-page-preview.sh
@@ -1,3 +1,2 @@
#!/bin/bash
-cd "docs"
python3 -m http.server 3000