diff --git a/README.md b/README.md index e40a2018..a2f5f078 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ After a global install, use the `simdeck` command directly. From a local checkou ## Documentation -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`. +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`. ## Run diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 170e4960..c7dbbc5b 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -2,6 +2,7 @@ import { defineConfig } from "vitepress"; const repoName = "SimDeck"; const githubUrl = `https://github.com/DjDeveloperr/${repoName}`; +const siteUrl = "https://simdeck.nativescript.org"; export default defineConfig({ title: "SimDeck", @@ -10,7 +11,6 @@ export default defineConfig({ lang: "en-US", cleanUrls: true, lastUpdated: true, - base: `/${repoName}/`, head: [ ["meta", { name: "theme-color", content: "#0a84ff" }], @@ -24,13 +24,8 @@ export default defineConfig({ "A local iOS Simulator control plane with a browser UI, REST API, and WebTransport video.", }, ], - [ - "meta", - { - property: "og:url", - content: `https://djdeveloperr.github.io/${repoName}/`, - }, - ], + ["meta", { property: "og:url", content: `${siteUrl}/` }], + ["link", { rel: "canonical", href: `${siteUrl}/` }], ], themeConfig: { diff --git a/docs/public/CNAME b/docs/public/CNAME new file mode 100644 index 00000000..862b802a --- /dev/null +++ b/docs/public/CNAME @@ -0,0 +1 @@ +simdeck.nativescript.org