Skip to content

Commit e5b3da9

Browse files
authored
docs: moves collection and globals admin docs to their respective config overviews (#10743)
Similar to #10742. Collection and global-level admin options are currently documented within the "admin > collections" and "admin > globals" pages, respectively. This makes them hard to find because users, myself included, intuitively navigate to the collection and global overview docs to locate this information before realizing it lives elsewhere. Now, they are rendered within "configuration > collections" and "configuration > globals" as expected and the old pages have been removed altogether.
1 parent 0ca3736 commit e5b3da9

File tree

11 files changed

+305
-327
lines changed

11 files changed

+305
-327
lines changed

docs/admin/collections.mdx

Lines changed: 0 additions & 183 deletions
This file was deleted.

docs/admin/components.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ All Custom Components in Payload are [React Server Components](https://react.dev
1818
There are four main types of Custom Components in Payload:
1919

2020
- [Root Components](#root-components)
21-
- [Collection Components](./collections#custom-components)
22-
- [Global Components](./globals#custom-components)
21+
- [Collection Components](../configuration/collections/#custom-components)
22+
- [Global Components](../configuration/globals#custom-components)
2323
- [Field Components](../fields/overview#custom-components)
2424

2525
To swap in your own Custom Component, first consult the list of available components, determine the scope that corresponds to what you are trying to accomplish, then [author your React component(s)](#building-custom-components) accordingly.
@@ -185,7 +185,7 @@ Each Custom Component receives the following props by default:
185185
186186
<Banner type="warning">
187187
**Reminder:**
188-
All Custom Components also receive various other props that are specific component being rendered. See [Root Components](#root-components), [Collection Components](./collections#custom-components), [Global Components](./globals#custom-components), or [Field Components](../fields/overview#custom-components) for a complete list of all default props per component.
188+
All Custom Components also receive various other props that are specific component being rendered. See [Root Components](#root-components), [Collection Components](../configuration/collections#custom-components), [Global Components](../configuraiton/globals#custom-components), or [Field Components](../fields/overview#custom-components) for a complete list of all default props per component.
189189
</Banner>
190190
191191
### Custom Props
@@ -504,7 +504,7 @@ The following options are available:
504504

505505
<Banner type="success">
506506
**Note:**
507-
You can also use set [Collection Components](./collections#custom-components) and [Global Components](./globals#custom-components) in their respective configs.
507+
You can also use set [Collection Components](../configuration/collections#custom-components) and [Global Components](../configuration/globals#custom-components) in their respective configs.
508508
</Banner>
509509

510510
### Custom Providers

docs/admin/globals.mdx

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)