Skip to content

Commit e109491

Browse files
authored
docs: fix and normalize links (#11993)
<!-- Thank you for the PR! Please go through the checklist below and make sure you've completed all the steps. Please review the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository if you haven't already. The following items will ensure that your PR is handled as smoothly as possible: - PR Title must follow conventional commits format. For example, `feat: my new feature`, `fix(plugin-seo): my fix`. - Minimal description explained as if explained to someone not immediately familiar with the code. - Provide before/after screenshots or code diffs if applicable. - Link any related issues/discussions from GitHub or Discord. - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Fixes # --> ### What? This PR fixes a few links around the docs. It also normalizes some links to use lowercase link-to sections. ### Why? To send users to the correct location in the docs. ### How? Changes to a few files in `docs/`
1 parent dee9abd commit e109491

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

docs/custom-components/edit-view.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ desc:
66
keywords: admin, components, custom, documentation, Content Management System, cms, headless, javascript, node, react, nextjs
77
---
88

9-
The Edit View is where users interact with individual [Collection](../collections/overview) and [Global](../globals/overview) Documents within the [Admin Panel](../admin/overview). The Edit View contains the actual form in which submits the data to the server. This is where they can view, edit, and save their content. It contains controls for saving, publishing, and previewing the document, all of which can be customized to a high degree.
9+
The Edit View is where users interact with individual [Collection](../configuration/collections) and [Global](../configuration/globals) Documents within the [Admin Panel](../admin/overview). The Edit View contains the actual form in which submits the data to the server. This is where they can view, edit, and save their content. It contains controls for saving, publishing, and previewing the document, all of which can be customized to a high degree.
1010

1111
The Edit View can be swapped out in its entirety for a Custom View, or it can be injected with a number of Custom Components to add additional functionality or presentational elements without replacing the entire view.
1212

@@ -103,12 +103,12 @@ The following options are available:
103103

104104
| Path | Description |
105105
| ----------------- | -------------------------------------------------------------------------------------- |
106-
| `SaveButton` | A button that saves the current document. [More details](#SaveButton). |
107-
| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#SaveDraftButton). |
108-
| `PublishButton` | A button that publishes the current document. [More details](#PublishButton). |
109-
| `PreviewButton` | A button that previews the current document. [More details](#PreviewButton). |
110-
| `Description` | A description of the Collection. [More details](#Description). |
111-
| `Upload` | A file upload component. [More details](#Upload). |
106+
| `SaveButton` | A button that saves the current document. [More details](#savebutton). |
107+
| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#savedraftbutton). |
108+
| `PublishButton` | A button that publishes the current document. [More details](#publishbutton). |
109+
| `PreviewButton` | A button that previews the current document. [More details](#previewbutton). |
110+
| `Description` | A description of the Collection. [More details](#description). |
111+
| `Upload` | A file upload component. [More details](#upload). |
112112

113113
#### Globals
114114

@@ -135,11 +135,11 @@ The following options are available:
135135

136136
| Path | Description |
137137
| ----------------- | -------------------------------------------------------------------------------------- |
138-
| `SaveButton` | A button that saves the current document. [More details](#SaveButton). |
139-
| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#SaveDraftButton). |
140-
| `PublishButton` | A button that publishes the current document. [More details](#PublishButton). |
141-
| `PreviewButton` | A button that previews the current document. [More details](#PreviewButton). |
142-
| `Description` | A description of the Global. [More details](#Description). |
138+
| `SaveButton` | A button that saves the current document. [More details](#savebutton). |
139+
| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#savedraftbutton). |
140+
| `PublishButton` | A button that publishes the current document. [More details](#publishbutton). |
141+
| `PreviewButton` | A button that previews the current document. [More details](#previewbutton). |
142+
| `Description` | A description of the Global. [More details](#description). |
143143

144144
### SaveButton
145145

docs/query-presets/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Query Presets are subject to the same [Access Control](../access-control/overvie
5858

5959
Access Control for Query Presets can be customized in two ways:
6060

61-
1. [Collection Access Control](#static-access-control): Applies to all presets. These rules are not controllable by the user and are statically defined in the config.
62-
2. [Document Access Control](#dynamic-access-control): Applies to each individual preset. These rules are controllable by the user and are saved to the document.
61+
1. [Collection Access Control](#collection-access-control): Applies to all presets. These rules are not controllable by the user and are statically defined in the config.
62+
2. [Document Access Control](#document-access-control): Applies to each individual preset. These rules are controllable by the user and are saved to the document.
6363

6464
### Collection Access Control
6565

docs/rich-text/custom-features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ This allows you to add i18n translations scoped to your feature. This specific e
223223

224224
### Markdown Transformers#server-feature-markdown-transformers
225225

226-
The Server Feature, just like the Client Feature, allows you to add markdown transformers. Markdown transformers on the server are used when [converting the editor from or to markdown](/docs/rich-text/converters#markdown-lexical).
226+
The Server Feature, just like the Client Feature, allows you to add markdown transformers. Markdown transformers on the server are used when [converting the editor from or to markdown](/docs/rich-text/converting-markdown).
227227

228228
```ts
229229
import { createServerFeature } from '@payloadcms/richtext-lexical'

0 commit comments

Comments
 (0)