Skip to content

Commit b0914a1

Browse files
committed
Switch playground to wasm directory
1 parent 9b628c1 commit b0914a1

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/download-artifact@v4
3131
with:
3232
name: wasm-demo
33-
path: doc/playground
33+
path: doc/wasm
3434

3535
- name: Setup Node.js
3636
uses: actions/setup-node@v4

doc/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/.quarto/
22
**/*.quarto_ipynb
33
_site
4-
playground
4+
wasm

doc/_quarto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project:
22
type: website
33
resources:
4-
- playground/**
4+
- wasm/**
55

66
website:
77
title: "ggsql"
@@ -51,7 +51,7 @@ website:
5151
href: syntax/clause/label.qmd
5252
- examples.qmd
5353
- text: Playground
54-
href: playground/index.html
54+
href: wasm/index.html
5555
tools:
5656
- icon: github
5757
menu:

doc/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A declarative visualization language that extends SQL with powerful data visuali
1616
::: {.hero-buttons}
1717
[Get Started](installation.qmd){.btn .btn-secondary .btn-lg}
1818
[View Examples](examples.qmd){.btn .btn-outline-secondary .btn-lg}
19-
[Playground](playground/index.html){.btn .btn-outline-secondary .btn-lg}
19+
[Playground](wasm/index.html){.btn .btn-outline-secondary .btn-lg}
2020
:::
2121

2222
:::

ggsql-wasm/build-wasm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ fi
4141
echo "Building WASM demo..."
4242
(cd "$SCRIPT_DIR/demo" && npm install && npm run build)
4343

44-
echo "Copying demo to doc/playground..."
45-
rm -rf "$REPO_ROOT/doc/playground"
46-
cp -r "$SCRIPT_DIR/demo/dist" "$REPO_ROOT/doc/playground"
44+
echo "Copying output to doc/wasm..."
45+
rm -rf "$REPO_ROOT/doc/wasm"
46+
cp -r "$SCRIPT_DIR/demo/dist" "$REPO_ROOT/doc/wasm"
4747

48-
echo "Done! Demo output is in: $REPO_ROOT/doc/playground"
48+
echo "Done! Output is in: $REPO_ROOT/doc/wasm"

0 commit comments

Comments
 (0)