From 2fc70a7b37b85e512431f52267ecf960ad398200 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Mon, 5 Jun 2023 15:52:28 +0100 Subject: [PATCH] Update examples links to point to examples folder. (#1522) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR updates the docs examples links to point to the examples folder. ### Change Type - [x] `documentation` — Changes to the documentation only (will not publish a new version) --- apps/docs/content/docs/api.mdx | 2 +- apps/docs/content/docs/persistence.mdx | 2 +- apps/docs/content/docs/shapes.mdx | 2 +- apps/docs/content/docs/tools.mdx | 2 +- apps/docs/content/docs/user-interface.mdx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/docs/content/docs/api.mdx b/apps/docs/content/docs/api.mdx index 4b4773b4d..b0cfb1335 100644 --- a/apps/docs/content/docs/api.mdx +++ b/apps/docs/content/docs/api.mdx @@ -237,4 +237,4 @@ editor.setCamera(0, 0, 1) --- -See the [tldraw repository](https://github.com/tldraw/tldraw) for an example of how to use tldraw's App API to control the editor. \ No newline at end of file +See the [tldraw repository](https://github.com/tldraw/tldraw/tree/main/apps/examples) for an example of how to use tldraw's App API to control the editor. \ No newline at end of file diff --git a/apps/docs/content/docs/persistence.mdx b/apps/docs/content/docs/persistence.mdx index e899e356a..096fe6ecf 100644 --- a/apps/docs/content/docs/persistence.mdx +++ b/apps/docs/content/docs/persistence.mdx @@ -15,4 +15,4 @@ keywords: Coming soon. -See the [tldraw repository](https://github.com/tldraw/tldraw) for an example of how to use persistence with the `@tldraw/tldraw` or `@tldraw/editor` libraries. +See the [tldraw repository](https://github.com/tldraw/tldraw/tree/main/apps/examples) for an example of how to use persistence with the `@tldraw/tldraw` or `@tldraw/editor` libraries. diff --git a/apps/docs/content/docs/shapes.mdx b/apps/docs/content/docs/shapes.mdx index 2c9fa93b9..c962fef9e 100644 --- a/apps/docs/content/docs/shapes.mdx +++ b/apps/docs/content/docs/shapes.mdx @@ -13,4 +13,4 @@ keywords: Coming soon. -See the [tldraw repository](https://github.com/tldraw/tldraw) for an example of how to create custom shapes in tldraw. +See the [tldraw repository](https://github.com/tldraw/tldraw/tree/main/apps/examples) for an example of how to create custom shapes in tldraw. diff --git a/apps/docs/content/docs/tools.mdx b/apps/docs/content/docs/tools.mdx index 990e42270..b2d812c52 100644 --- a/apps/docs/content/docs/tools.mdx +++ b/apps/docs/content/docs/tools.mdx @@ -12,4 +12,4 @@ keywords: Coming soon. -See the [tldraw repository](https://github.com/tldraw/tldraw) for an example of how to create custom tools in tldraw. +See the [tldraw repository](https://github.com/tldraw/tldraw/tree/main/apps/examples) for an example of how to create custom tools in tldraw. diff --git a/apps/docs/content/docs/user-interface.mdx b/apps/docs/content/docs/user-interface.mdx index 01741b9fa..8aa0df722 100644 --- a/apps/docs/content/docs/user-interface.mdx +++ b/apps/docs/content/docs/user-interface.mdx @@ -35,4 +35,4 @@ The `onUiEvent` callback is called with the name of the event as a string and an Note that `onUiEvent` is only called when interacting with the user interface. It is not called when running commands manually against the app, e.g. `editor.alignShapes()` will not call `onUiEvent`. -See the [tldraw repository](https://github.com/tldraw/tldraw) for an example of how to customize tldraw's user interface. +See the [tldraw repository](https://github.com/tldraw/tldraw/tree/main/apps/examples) for an example of how to customize tldraw's user interface.