Skip to content

Commit 9efbb38

Browse files
committed
chore(guide): use wasm bundle from github branch instead of gitlab
registry in more demos.
1 parent ebc9866 commit 9efbb38

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/guide/js/loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ flowchart TD
2929
import { loadAsync } from "@kitware/vtk-wasm";
3030

3131
const runtime = await loadAsync({
32-
url: "https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.6.20260621/vtk-9.6.20260621-wasm32-emscripten.tar.gz",
32+
url: "https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
3333
});
3434
```
3535

docs/guide/js/primer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ const vtk = session.vtk;
340340
<script
341341
src="https://unpkg.com/@kitware/vtk-wasm/vtk-umd.js"
342342
id="vtk-wasm"
343-
data-url="https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.6.20260228/vtk-9.6.20260228-wasm32-emscripten.tar.gz"></script>
343+
data-url="https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz"></script>
344344
</head>
345345
<body>
346346
<div style="min-height:300px">

docs/guide/js/remote-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The state objects mirror what `vtklocal.get.state` returns: each carries an `Id`
5757
</html></textarea>
5858
<pre data-lang="js" style="display:none">
5959
const runtime = await vtkwasm.loadAsync({
60-
url: "https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.6.20260621/vtk-9.6.20260621-wasm32-emscripten.tar.gz",
60+
url: "https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
6161
});
6262
const remote = runtime.createRemoteSession();
6363
// The "server":

docs/public/demo/plain-javascript-annotation-wasm-registry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<script
44
src="https://unpkg.com/@kitware/vtk-wasm/vtk-umd.js"
55
id="vtk-wasm"
6-
data-url="https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.6.20260621/vtk-9.6.20260621-wasm32-emscripten.tar.gz"
6+
data-url="https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz"
77
></script>
88
<script src="example.js"></script>
99
</head>

docs/public/demo/plain-javascript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<body>
77
<canvas id="vtk-wasm-window" tabindex="-1" onclick="focus()"></canvas>
88
<script>
9-
vtkwasm.loadAsync({ url: "https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz" })
9+
vtkwasm.loadAsync({ url: "https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz" })
1010
.then((runtime) => {
1111
const session = runtime.createStandaloneSession();
1212
buildWASMScene(session.vtk, "#vtk-wasm-window", "This scene passes the VTK.wasm bundle from GitLab registry to loadAsync()");

docs/public/demo/viewer-basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
vtkWASMViewer.createViewerAsync(
1313
"#viewer",
1414
"/vtk-wasm/data/bike-export.wazex",
15-
"https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz",
15+
"https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
1616
{
1717
rendering: "webgl", // 'webgpu'
1818
},

docs/public/demo/viewer-porsche.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.createViewerAsync(
1414
"#viewer",
1515
"/vtk-wasm/data/porsche.wazex",
16-
"https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz",
16+
"https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
1717
{
1818
rendering: "webgl",
1919
},

docs/public/demo/viewer-starfighter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
vtkWASMViewer.createViewerAsync(
1313
"#viewer",
1414
"/vtk-wasm/data/star-fighter.wazex",
15-
"https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz",
15+
"https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
1616
{
1717
rendering: "webgl",
1818
},

docs/public/demo/viewer-starfighter2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.createViewerAsync(
1414
"#viewer",
1515
"/vtk-wasm/data/star-fighter2.wazex",
16-
"https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz",
16+
"https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
1717
{
1818
rendering: "webgl",
1919
},

examples/js/simple-app/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { loadAsync } from "@kitware/vtk-wasm";
33
import { buildWASMScene } from "./example";
44

55
const runtime = await loadAsync({
6-
url: "https://gitlab.kitware.com/api/v4/projects/13/packages/generic/vtk-wasm32-emscripten/9.5.20251215/vtk-9.5.20251215-wasm32-emscripten.tar.gz",
6+
url: "https://raw.githack.com/Kitware/vtk-wasm/dist/latest/vtk-wasm32-emscripten.tar.gz",
77
});
88
const session = runtime.createStandaloneSession();
99
buildWASMScene(session.vtk, "#app > canvas", "This scene passes the VTK.wasm bundle from GitLab registry to loadAsync()");

0 commit comments

Comments
 (0)