Skip to content

Commit cc36019

Browse files
committed
docs: remove references to demo config
1 parent 1d06117 commit cc36019

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/admin/components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can override a set of admin panel-wide components by providing a component t
2222
| Path | Description |
2323
| --------------------- | -------------|
2424
| **`Nav`** | Contains the sidebar and mobile Nav in its entirety. |
25-
| **`BeforeDashboard`** | Array of components to inject into the built-in Dashboard, _before_ the default dashboard contents. [Demo](https://github.com/payloadcms/payload/tree/master/demo/client/components/AfterDashboard) |
25+
| **`BeforeDashboard`** | Array of components to inject into the built-in Dashboard, _before_ the default dashboard contents. |
2626
| **`AfterDashboard`** | Array of components to inject into the built-in Dashboard, _after_ the default dashboard contents. |
2727
| **`BeforeLogin`** | Array of components to inject into the built-in Login, _before_ the default login form. |
2828
| **`AfterLogin`** | Array of components to inject into the built-in Login, _after_ the default login form. |

docs/configuration/collections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const Orders = {
5252

5353
#### More collection config examples
5454

55-
You can find an assortment of [example collection configs](https://github.com/payloadcms/payload/blob/master/demo/collections) in the Payload source code on GitHub.
55+
You can find an assortment of [example collection configs](https://github.com/payloadcms/public-demo/tree/master/src/collections) in the Public Demo source code on GitHub.
5656

5757
### Admin options
5858

docs/configuration/globals.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ const Nav = {
5050
}
5151
```
5252

53-
#### More Global config examples
53+
#### Global config example
5454

55-
You can find an assortment of [example Global configs](https://github.com/payloadcms/payload/blob/master/demo/globals) in the Payload source code on GitHub.
55+
You can find an [example Global config](https://github.com/payloadcms/public-demo/blob/master/src/globals/MainMenu.ts) in the Public Demo source code on GitHub.
5656

5757
### Admin options
5858

docs/configuration/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default config;
8989

9090
#### Full example config
9191

92-
You can see a full [example config](https://github.com/payloadcms/payload/blob/master/demo/payload.config.ts) in the Payload source code on GitHub.
92+
You can see a full [example config](https://github.com/payloadcms/public-demo/blob/master/src/payload.config.ts) in the Public Demo source code on GitHub.
9393

9494
### Using environment variables in your config
9595

docs/fields/rich-text.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Custom `Leaf` objects follow a similar pattern but require you to define the `Le
181181
}
182182
```
183183

184-
For more examples regarding how to define your own elements and leaves, check out the example [`RichText` collection](https://github.com/payloadcms/payload/blob/master/demo/collections/RichText.ts) within the Payload source code.
184+
For more examples regarding how to define your own elements and leaves, check out the example [`RichText` field](https://github.com/payloadcms/public-demo/blob/master/src/fields/hero.ts) within the Public Demo source code.
185185

186186
### Generating HTML
187187

0 commit comments

Comments
 (0)