From e109491dbeb032a6ad8e53faecfb9192f8019819 Mon Sep 17 00:00:00 2001 From: Said Akhrarov <36972061+akhrarovsaid@users.noreply.github.com> Date: Sat, 5 Apr 2025 20:13:56 -0400 Subject: [PATCH] docs: fix and normalize links (#11993) ### 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/` --- docs/custom-components/edit-view.mdx | 24 ++++++++++++------------ docs/query-presets/overview.mdx | 4 ++-- docs/rich-text/custom-features.mdx | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/custom-components/edit-view.mdx b/docs/custom-components/edit-view.mdx index 6b4660afd7..4f26004a86 100644 --- a/docs/custom-components/edit-view.mdx +++ b/docs/custom-components/edit-view.mdx @@ -6,7 +6,7 @@ desc: keywords: admin, components, custom, documentation, Content Management System, cms, headless, javascript, node, react, nextjs --- -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. +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. 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. @@ -103,12 +103,12 @@ The following options are available: | Path | Description | | ----------------- | -------------------------------------------------------------------------------------- | -| `SaveButton` | A button that saves the current document. [More details](#SaveButton). | -| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#SaveDraftButton). | -| `PublishButton` | A button that publishes the current document. [More details](#PublishButton). | -| `PreviewButton` | A button that previews the current document. [More details](#PreviewButton). | -| `Description` | A description of the Collection. [More details](#Description). | -| `Upload` | A file upload component. [More details](#Upload). | +| `SaveButton` | A button that saves the current document. [More details](#savebutton). | +| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#savedraftbutton). | +| `PublishButton` | A button that publishes the current document. [More details](#publishbutton). | +| `PreviewButton` | A button that previews the current document. [More details](#previewbutton). | +| `Description` | A description of the Collection. [More details](#description). | +| `Upload` | A file upload component. [More details](#upload). | #### Globals @@ -135,11 +135,11 @@ The following options are available: | Path | Description | | ----------------- | -------------------------------------------------------------------------------------- | -| `SaveButton` | A button that saves the current document. [More details](#SaveButton). | -| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#SaveDraftButton). | -| `PublishButton` | A button that publishes the current document. [More details](#PublishButton). | -| `PreviewButton` | A button that previews the current document. [More details](#PreviewButton). | -| `Description` | A description of the Global. [More details](#Description). | +| `SaveButton` | A button that saves the current document. [More details](#savebutton). | +| `SaveDraftButton` | A button that saves the current document as a draft. [More details](#savedraftbutton). | +| `PublishButton` | A button that publishes the current document. [More details](#publishbutton). | +| `PreviewButton` | A button that previews the current document. [More details](#previewbutton). | +| `Description` | A description of the Global. [More details](#description). | ### SaveButton diff --git a/docs/query-presets/overview.mdx b/docs/query-presets/overview.mdx index be94e19293..abc5852279 100644 --- a/docs/query-presets/overview.mdx +++ b/docs/query-presets/overview.mdx @@ -58,8 +58,8 @@ Query Presets are subject to the same [Access Control](../access-control/overvie Access Control for Query Presets can be customized in two ways: -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. -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. +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. +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. ### Collection Access Control diff --git a/docs/rich-text/custom-features.mdx b/docs/rich-text/custom-features.mdx index 4ad06a2877..c29935dd83 100644 --- a/docs/rich-text/custom-features.mdx +++ b/docs/rich-text/custom-features.mdx @@ -223,7 +223,7 @@ This allows you to add i18n translations scoped to your feature. This specific e ### Markdown Transformers#server-feature-markdown-transformers -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). +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). ```ts import { createServerFeature } from '@payloadcms/richtext-lexical'