From 23ad10d8560d82ffd561c5fd524be8479f2d1c69 Mon Sep 17 00:00:00 2001 From: Soufiane Ghzal Date: Wed, 29 Dec 2021 07:39:08 +0100 Subject: [PATCH] Fixed bunch of broken links (#471) * fixed local links to documentation in README.md * fixed links to core package --- .../core-example-advanced/src/components/TitleLinks.tsx | 2 +- guides/documentation.md | 2 +- packages/tldraw/README.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/core-example-advanced/src/components/TitleLinks.tsx b/examples/core-example-advanced/src/components/TitleLinks.tsx index 195d0eff7..3c362efdb 100644 --- a/examples/core-example-advanced/src/components/TitleLinks.tsx +++ b/examples/core-example-advanced/src/components/TitleLinks.tsx @@ -5,7 +5,7 @@ import styled from 'stitches.config' export function TitleLinks() { return ( - @tldraw/core + @tldraw/core ) } diff --git a/guides/documentation.md b/guides/documentation.md index ac68b9d80..51285f4b7 100644 --- a/guides/documentation.md +++ b/guides/documentation.md @@ -101,7 +101,7 @@ function App() { } ``` -**Tip:** The pages and pageStates in tldraw are objects containing `TLPage` and `TLPageState` objects from the [@tldraw/core](https://github.com/tldraw/core) library. +**Tip:** The pages and pageStates in tldraw are objects containing `TLPage` and `TLPageState` objects from the [@tldraw/core](/packages/core) library. **Tip:** The `assets` in tldraw is a table of `TDAssets` (images and videos). diff --git a/packages/tldraw/README.md b/packages/tldraw/README.md index 97c40be1e..5ffa25259 100644 --- a/packages/tldraw/README.md +++ b/packages/tldraw/README.md @@ -76,11 +76,11 @@ function App() { } ``` -Internally, the `` component's user interface uses this API to make changes to the component's state. See the `tldrawApp` section of the [documentation](packages/tldraw/guides/documentation.md) for more on this API. +Internally, the `` component's user interface uses this API to make changes to the component's state. See the `tldrawApp` section of the [documentation](/guides/documentation.md) for more on this API. ### Responding to Changes -You can respond to changes and user actions using the `onChange` callback. For more specific changes, you can also use the `onPatch`, `onCommand`, or `onPersist` callbacks. See the [documentation](packages/tldraw/guides/documentation.md) for more. +You can respond to changes and user actions using the `onChange` callback. For more specific changes, you can also use the `onPatch`, `onCommand`, or `onPersist` callbacks. See the [documentation](/guides/documentation.md) for more. ```tsx import { Tldraw, TldrawApp } from '@tldraw/tldraw' @@ -96,7 +96,7 @@ function App() { ## Documentation -See the project's [documentation](packages/tldraw/guides/documentation.md). +See the project's [documentation](/guides/documentation.md). ## Contribution @@ -104,7 +104,7 @@ See the [contributing guide](/CONTRIBUTING.md). ## Development -See the [development guide](packages/tldraw/guides/development.md). +See the [development guide](/guides/development.md). ## Example