Skip to content

Visualize Your Ideas With Code

refactor(docs): update domain (#1231)

Jacob7b91435c301d
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5e49427f..8c388965 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -112,7 +112,7 @@ This Contribution Guide was partially inspired by [React][react] and
[Angular][angular].
[semver]: https://semver.org/
-[discord]: https://chat.motioncanvas.io
+[discord]: https://chat.motion-canvas.io
[semantic-release]:
https://semantic-release.gitbook.io/semantic-release/support/faq#can-i-set-the-initial-release-version-of-my-package-to-0.0.1
[main]: https://github.com/motion-canvas/motion-canvas/tree/main
diff --git a/README.md b/README.md
index b61d0907..446c8db1 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
<a href="https://lerna.js.org"><img src="https://img.shields.io/badge/published%20with-lerna-c084fc?style=flat" alt="published with lerna"></a>
<a href="https://vitejs.dev"><img src="https://img.shields.io/badge/powered%20by-vite-646cff?style=flat" alt="powered by vite"></a>
<a href="https://www.npmjs.com/package/@motion-canvas/core"><img src="https://img.shields.io/npm/v/@motion-canvas/core?style=flat" alt="npm package version"></a>
- <a href="https://chat.motioncanvas.io"><img src="https://img.shields.io/discord/1071029581009657896?style=flat&logo=discord&logoColor=fff&color=404eed" alt="discord"></a>
+ <a href="https://chat.motion-canvas.io"><img src="https://img.shields.io/discord/1071029581009657896?style=flat&logo=discord&logoColor=fff&color=404eed" alt="discord"></a>
</p>
<br/>
@@ -132,5 +132,5 @@ help make Motion Canvas better.
[authenticate]:
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token
[template]: https://github.com/motion-canvas/project-template#using-the-template
-[discord]: https://chat.motioncanvas.io
-[docs]: https://motioncanvas.io/docs/quickstart
+[discord]: https://chat.motion-canvas.io
+[docs]: https://motion-canvas.io/docs/quickstart
diff --git a/packages/2d/package.json b/packages/2d/package.json
index 2e09d04d..aa423fa1 100644
--- a/packages/2d/package.json
+++ b/packages/2d/package.json
@@ -3,7 +3,7 @@
"version": "3.17.2",
"description": "A 2D renderer for Motion Canvas",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"main": "lib/index.js",
diff --git a/packages/2d/src/lib/components/Img.ts b/packages/2d/src/lib/components/Img.ts
index 633806a3..291ff11e 100644
--- a/packages/2d/src/lib/components/Img.ts
+++ b/packages/2d/src/lib/components/Img.ts
@@ -184,7 +184,7 @@ The <code>src</code> property was set to:
...which resolved to the following url:
<pre><code>${src}</code></pre>
Make sure that source is correct and that the image exists.<br/>
-<a target='_blank' href='https://motioncanvas.io/docs/media#images'>Learn more</a>
+<a target='_blank' href='https://motion-canvas.io/docs/media#images'>Learn more</a>
about working with images.`,
inspect: this.key,
}),
diff --git a/packages/2d/src/lib/components/__logs__/image-without-source.md b/packages/2d/src/lib/components/__logs__/image-without-source.md
index 01252766..46868e70 100644
--- a/packages/2d/src/lib/components/__logs__/image-without-source.md
+++ b/packages/2d/src/lib/components/__logs__/image-without-source.md
@@ -13,5 +13,5 @@ property to `null`:
<Img src={null} />
```
-[Learn more](https://motioncanvas.io/docs/media#images) about working with
+[Learn more](https://motion-canvas.io/docs/media#images) about working with
images.
diff --git a/packages/core/package.json b/packages/core/package.json
index e0a48941..d4f9888f 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -4,7 +4,7 @@
"description": "Web-based tool for creating animations programmatically",
"main": "lib/index.js",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"scripts": {
diff --git a/packages/core/src/app/Project.ts b/packages/core/src/app/Project.ts
index 861c212c..7aa33fe9 100644
--- a/packages/core/src/app/Project.ts
+++ b/packages/core/src/app/Project.ts
@@ -47,7 +47,7 @@ export interface ProjectSettings {
/**
* An url for the audio track to play alongside the animation.
*
- * @see https://motioncanvas.io/docs/media#audio
+ * @see https://motion-canvas.io/docs/media#audio
*/
audio?: string;
@@ -59,14 +59,14 @@ export interface ProjectSettings {
/**
* Default values for project variables.
*
- * @see https://motioncanvas.io/docs/project-variables
+ * @see https://motion-canvas.io/docs/project-variables
*/
variables?: Record<string, unknown>;
/**
* Enable experimental features.
*
- * @see https://motioncanvas.io/docs/experimental
+ * @see https://motion-canvas.io/docs/experimental
*
* @experimental
*/
diff --git a/packages/core/src/app/__logs__/include-without-preprocessor.md b/packages/core/src/app/__logs__/include-without-preprocessor.md
index 6f651201..4e03dd9c 100644
--- a/packages/core/src/app/__logs__/include-without-preprocessor.md
+++ b/packages/core/src/app/__logs__/include-without-preprocessor.md
@@ -20,4 +20,4 @@ const shader = `\
`;
```
-[Learn more](https://motioncanvas.io/docs/shaders) about working with shaders.
+[Learn more](https://motion-canvas.io/docs/shaders) about working with shaders.
diff --git a/packages/core/src/utils/__logs__/experimental-features.md b/packages/core/src/utils/__logs__/experimental-features.md
index 9cd8ebab..7cd9917f 100644
--- a/packages/core/src/utils/__logs__/experimental-features.md
+++ b/packages/core/src/utils/__logs__/experimental-features.md
@@ -8,5 +8,5 @@ export default makeProject({
});
```
-[Learn more](https://motioncanvas.io/docs/experimental) about experimental
+[Learn more](https://motion-canvas.io/docs/experimental) about experimental
features.
diff --git a/packages/create/package.json b/packages/create/package.json
index 34e249ee..2adf124f 100644
--- a/packages/create/package.json
+++ b/packages/create/package.json
@@ -4,7 +4,7 @@
"description": "Quickly scaffold Motion Canvas projects",
"main": "index.js",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"type": "module",
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index 40d397a3..dd3d6019 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -5,7 +5,7 @@ const config = {
title: 'Motion Canvas',
tagline:
'A TypeScript library for creating animated videos using the Canvas API.',
- url: 'https://motioncanvas.io',
+ url: 'https://motion-canvas.io',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
@@ -22,7 +22,7 @@ const config = {
customFields: {
discordApi:
'https://discord.com/api/guilds/1071029581009657896/widget.json',
- discordUrl: 'https://chat.motioncanvas.io',
+ discordUrl: 'https://chat.motion-canvas.io',
githubApi: 'https://api.github.com/repos/motion-canvas/motion-canvas',
githubUrl: 'https://github.com/motion-canvas/motion-canvas',
},
@@ -80,7 +80,7 @@ const config = {
},
{
label: 'Discord',
- href: 'https://chat.motioncanvas.io',
+ href: 'https://chat.motion-canvas.io',
},
],
},
diff --git a/packages/docs/static/CNAME b/packages/docs/static/CNAME
index e5f7bf12..f23f5c0a 100644
--- a/packages/docs/static/CNAME
+++ b/packages/docs/static/CNAME
@@ -1 +1 @@
-motioncanvas.io
+motion-canvas.io
diff --git a/packages/ffmpeg/package.json b/packages/ffmpeg/package.json
index a4dce312..e1b57d84 100644
--- a/packages/ffmpeg/package.json
+++ b/packages/ffmpeg/package.json
@@ -4,7 +4,7 @@
"description": "An FFmpeg video exporter for Motion Canvas",
"main": "lib/server/index.js",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "GPLv3",
"scripts": {
diff --git a/packages/player/package.json b/packages/player/package.json
index d50b8d90..a20f1438 100644
--- a/packages/player/package.json
+++ b/packages/player/package.json
@@ -5,7 +5,7 @@
"main": "dist/main.js",
"types": "types/main.d.ts",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"type": "module",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index dd597b5e..7b6e7a3e 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -5,7 +5,7 @@
"main": "dist/main.js",
"types": "dist/main.d.ts",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"type": "module",
diff --git a/packages/ui/src/components/layout/Navigation.tsx b/packages/ui/src/components/layout/Navigation.tsx
index 080dcbd5..d016ea51 100644
--- a/packages/ui/src/components/layout/Navigation.tsx
+++ b/packages/ui/src/components/layout/Navigation.tsx
@@ -82,7 +82,7 @@ export function Navigation() {
<TabLink
title="Experimental features enabled"
id="docs-experimental-link"
- href="https://motioncanvas.io/docs/experimental/"
+ href="https://motion-canvas.io/docs/experimental/"
target="_blank"
>
<Science />
@@ -92,7 +92,7 @@ export function Navigation() {
<TabLink
title="Docs"
id="docs-external-link"
- href="https://motioncanvas.io/docs/"
+ href="https://motion-canvas.io/docs/"
target="_blank"
>
<School />
diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json
index d2ffb7db..bfc13140 100644
--- a/packages/vite-plugin/package.json
+++ b/packages/vite-plugin/package.json
@@ -4,7 +4,7 @@
"description": "A Vite plugin for Motion Canvas projects",
"main": "lib/index.js",
"author": "motion-canvas",
- "homepage": "https://motioncanvas.io/",
+ "homepage": "https://motion-canvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
"license": "MIT",
"scripts": {