Fixed bunch of broken links (#471)

* fixed local links to documentation in README.md

* fixed links to core package
pull/476/head
Soufiane Ghzal 2021-12-29 07:39:08 +01:00 zatwierdzone przez GitHub
rodzic 59e5a446c9
commit 23ad10d856
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -5,7 +5,7 @@ import styled from 'stitches.config'
export function TitleLinks() {
return (
<TitleLinksContainer>
<a href="https://github.com/tldraw/core">@tldraw/core</a>
<a href="https://github.com/tldraw/tldraw/tree/main/packages/core">@tldraw/core</a>
</TitleLinksContainer>
)
}

Wyświetl plik

@ -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).

Wyświetl plik

@ -76,11 +76,11 @@ function App() {
}
```
Internally, the `<Tldraw/>` 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 `<Tldraw/>` 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