docs: new and improve lexical docs, hoist up all headings (#6639)
This commit is contained in:
@@ -14,7 +14,7 @@ npx create-payload-app@latest
|
||||
|
||||
Pick a TypeScript project type to get started easily.
|
||||
|
||||
#### Setting up from Scratch
|
||||
## Setting up from Scratch
|
||||
|
||||
It's also possible to set up a TypeScript project from scratch. We plan to write up a guide for exactly how—so keep an eye out for that, too.
|
||||
|
||||
@@ -22,14 +22,14 @@ It's also possible to set up a TypeScript project from scratch. We plan to write
|
||||
|
||||
Payload exports a number of types that you may find useful while writing your own plugins, hooks, access control functions, custom views, GraphQL queries / mutations, or anything else.
|
||||
|
||||
##### Config Types
|
||||
## Config Types
|
||||
|
||||
- [Base config](/docs/configuration/overview#typescript)
|
||||
- [Collections](/docs/configuration/collections#typescript)
|
||||
- [Globals](/docs/configuration/globals#typescript)
|
||||
- [Fields](/docs/fields/overview#typescript)
|
||||
|
||||
##### Hook Types
|
||||
## Hook Types
|
||||
|
||||
- [Collection hooks](/docs/hooks/collections#typescript)
|
||||
- [Global hooks](/docs/hooks/globals#typescript)
|
||||
|
||||
Reference in New Issue
Block a user