Skip to content

Commit 525d61a

Browse files
authored
docs: serve site at simdeck.nativescript.org (#2)
1 parent c464b28 commit 525d61a

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ After a global install, use the `simdeck` command directly. From a local checkou
4545

4646
## Documentation
4747

48-
Full documentation lives at [djdeveloperr.github.io/SimDeck](https://djdeveloperr.github.io/SimDeck/), with guides, the CLI reference, the REST API, the WebTransport video pipeline, and the inspector protocols. The source for the site lives in [`docs/`](docs/) — preview it locally with `npm run docs:dev`.
48+
Full documentation lives at [simdeck.nativescript.org](https://simdeck.nativescript.org/), with guides, the CLI reference, the REST API, the WebTransport video pipeline, and the inspector protocols. The source for the site lives in [`docs/`](docs/) — preview it locally with `npm run docs:dev`.
4949

5050
## Run
5151

docs/.vitepress/config.mts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from "vitepress";
22

33
const repoName = "SimDeck";
44
const githubUrl = `https://github.com/DjDeveloperr/${repoName}`;
5+
const siteUrl = "https://simdeck.nativescript.org";
56

67
export default defineConfig({
78
title: "SimDeck",
@@ -10,7 +11,6 @@ export default defineConfig({
1011
lang: "en-US",
1112
cleanUrls: true,
1213
lastUpdated: true,
13-
base: `/${repoName}/`,
1414

1515
head: [
1616
["meta", { name: "theme-color", content: "#0a84ff" }],
@@ -24,13 +24,8 @@ export default defineConfig({
2424
"A local iOS Simulator control plane with a browser UI, REST API, and WebTransport video.",
2525
},
2626
],
27-
[
28-
"meta",
29-
{
30-
property: "og:url",
31-
content: `https://djdeveloperr.github.io/${repoName}/`,
32-
},
33-
],
27+
["meta", { property: "og:url", content: `${siteUrl}/` }],
28+
["link", { rel: "canonical", href: `${siteUrl}/` }],
3429
],
3530

3631
themeConfig: {

docs/public/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
simdeck.nativescript.org

0 commit comments

Comments
 (0)