tldraw/apps/docs
Lu Wilson c5fe399842
[docs] Separate some pages out of the Docs section (#1626)
This PR changes the structure of the docs site's sidebar.


![image](https://github.com/tldraw/tldraw/assets/15892272/ffe1e152-c921-43f0-9ba2-d084bda5e1e3)

I think this signposts more clearly what the different pages are for.
And it also paves the way for some work I want to do on
expanding+refining the Editor docs.

This PR also simplifies URL for all sidebar links.
It's a bit scrappy, but I think it feels simple enough to work with, and
easy-enough to change in the future.
> But hey! I've been doing this a couple times recently. Maybe we should
refactor? Or maybe we should keep going with what we've got and focus on
getting these docs *done*.

### Change Type

- [x] `documentation` — Changes to the documentation only[^2]

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Check that all the sidebar links go to where you expect.
2. Check that old URLs redirect to the right pages, eg: `/docs/usage`
should go to the usage page.


### Release Notes

- Documentation: Restructured the sidebar for clarity.
2023-06-23 09:53:22 +00:00
..
components [docs] Separate some pages out of the Docs section (#1626) 2023-06-23 09:53:22 +00:00
content [docs] Separate some pages out of the Docs section (#1626) 2023-06-23 09:53:22 +00:00
pages [docs] Separate some pages out of the Docs section (#1626) 2023-06-23 09:53:22 +00:00
public [docs] editor API (#1328) 2023-05-07 19:10:59 +01:00
scripts Auto content refresh for docs site (#1606) 2023-06-17 09:46:46 +00:00
styles [docs] Fix wrong cursor when hovering buttons (#1630) 2023-06-23 09:51:42 +00:00
types Auto content refresh for docs site (#1606) 2023-06-17 09:46:46 +00:00
utils [docs] Separate some pages out of the Docs section (#1626) 2023-06-23 09:53:22 +00:00
.eslintrc.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.gitignore Auto content refresh for docs site (#1606) 2023-06-17 09:46:46 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
content.d.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
LICENSE readmes 2023-05-04 13:47:56 +01:00
next.config.js [docs] Separate some pages out of the Docs section (#1626) 2023-06-23 09:53:22 +00:00
package.json Revert "Update dependencies (#1613)" (#1617) 2023-06-19 09:49:44 +00:00
README.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tsconfig.content.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00

tldraw-docs

tldraw