docs: more cleanup following restructure (#2702)

- add TOC for Reference section
- make external links use _blank to open a new tab
- fix some more /gen links spots I missed, oops
- add a general redirect from old /gen links → /reference
- some more stylistic touchups

### Change Type

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

### Release Notes

- Docs: further cleanup following restructure.
This commit is contained in:
Mime Čuvalo 2024-02-01 14:16:17 +00:00 committed by GitHub
parent 279abff228
commit 63e3d6dfc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 308 additions and 284 deletions

View file

@ -122,7 +122,7 @@ editor.bailToMark('first') // will return to A
The [Editor](?) class receives events from its [Editor#dispatch](?) method. When the [Editor](?) receives an event, it is first handled internally to update [Editor#inputs](?) and other state before, and then sent into to the editor's state chart.
You shouldn't need to use the [Editor#dispatch](?) method directly, however you may write code in the state chart that responds to these events. See the [Tools page](tools) to learn how to do that, or read below for a more detailed information about the state chart itself.
You shouldn't need to use the [Editor#dispatch](?) method directly, however you may write code in the state chart that responds to these events. See the [Tools page](/docs/tools) to learn how to do that, or read below for a more detailed information about the state chart itself.
### State Chart

View file

@ -30,10 +30,6 @@
"title": "@tldraw/editor",
"description": "",
"groups": [
{
"id": "Namespace",
"path": null
},
{
"id": "Class",
"path": null
@ -57,6 +53,10 @@
{
"id": "TypeAlias",
"path": null
},
{
"id": "Namespace",
"path": null
}
]
},
@ -65,10 +65,6 @@
"title": "@tldraw/store",
"description": "",
"groups": [
{
"id": "Namespace",
"path": null
},
{
"id": "Class",
"path": null
@ -92,6 +88,10 @@
{
"id": "TypeAlias",
"path": null
},
{
"id": "Namespace",
"path": null
}
]
},
@ -100,10 +100,6 @@
"title": "@tldraw/tldraw",
"description": "",
"groups": [
{
"id": "Namespace",
"path": null
},
{
"id": "Class",
"path": null
@ -127,6 +123,10 @@
{
"id": "TypeAlias",
"path": null
},
{
"id": "Namespace",
"path": null
}
]
},
@ -135,10 +135,6 @@
"title": "@tldraw/tlschema",
"description": "",
"groups": [
{
"id": "Namespace",
"path": null
},
{
"id": "Class",
"path": null
@ -162,6 +158,10 @@
{
"id": "TypeAlias",
"path": null
},
{
"id": "Namespace",
"path": null
}
]
},
@ -170,10 +170,6 @@
"title": "@tldraw/validate",
"description": "",
"groups": [
{
"id": "Namespace",
"path": null
},
{
"id": "Class",
"path": null
@ -197,6 +193,10 @@
{
"id": "TypeAlias",
"path": null
},
{
"id": "Namespace",
"path": null
}
]
}