Skip to content

Commit

Permalink
Docs: Fix Create a Block Tutorial link on blocks package README.md (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
thealexandrelara committed Apr 5, 2023
1 parent 77d70eb commit ef9ed1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/blocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/src/api/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

1 comment on commit ef9ed1a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in ef9ed1a.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4614195434
📝 Reported issues:

Please sign in to comment.