From ef9ed1a5eaefaf76fd884ff0dc74f5e5f761c8ad Mon Sep 17 00:00:00 2001 From: Alexandre Lara Date: Tue, 4 Apr 2023 23:04:17 -0300 Subject: [PATCH] Docs: Fix Create a Block Tutorial link on blocks package README.md (#49562) * Fix Create a Block Tutorial link on blocks README * Revert previous documentation update and re-run check-local-changes * Fix create a block tutorial link --- packages/blocks/README.md | 2 +- packages/blocks/src/api/registration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blocks/README.md b/packages/blocks/README.md index 27f6010786b18..a7c7ba9e0d6be 100644 --- a/packages/blocks/README.md +++ b/packages/blocks/README.md @@ -742,7 +742,7 @@ Registers a new block provided a unique name and an object defining its behavior. Once registered, the block is made available as an option to any editor interface where blocks are implemented. -For more in-depth information on registering a custom block see the [Create a block tutorial](docs/how-to-guides/block-tutorial/README.md) +For more in-depth information on registering a custom block see the [Create a block tutorial](/docs/getting-started/create-block/README.md) _Usage_ diff --git a/packages/blocks/src/api/registration.js b/packages/blocks/src/api/registration.js index 597081f6203e0..a2d5a34d79fdf 100644 --- a/packages/blocks/src/api/registration.js +++ b/packages/blocks/src/api/registration.js @@ -248,7 +248,7 @@ function getBlockSettingsFromMetadata( { textdomain, ...metadata } ) { * behavior. Once registered, the block is made available as an option to any * editor interface where blocks are implemented. * - * For more in-depth information on registering a custom block see the [Create a block tutorial](docs/how-to-guides/block-tutorial/README.md) + * For more in-depth information on registering a custom block see the [Create a block tutorial](/docs/getting-started/create-block/README.md) * * @param {string|Object} blockNameOrMetadata Block type name or its metadata. * @param {Object} settings Block settings.