Skip to content

Commit

Permalink
Docs: Update the Block Metadata title (#40482)
Browse files Browse the repository at this point in the history
* Update the Block Metadata title

Adding `block.json` to the title makes the document easier to find and identify for folks who may be new to block development and not yet familiar with all the terminology. It would also be good for folks using search engines to find relevant information. :)

* npm run docs:build to update docs manifest
  • Loading branch information
aurooba committed Apr 23, 2022
1 parent ace0643 commit 60bddd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
"parent": "block-api"
},
{
"title": "Metadata",
"title": "Metadata in block.json",
"slug": "block-metadata",
"markdown_source": "../docs/reference-guides/block-api/block-metadata.md",
"parent": "block-api"
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-metadata.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Metadata
# Metadata in block.json

Starting in WordPress 5.8 release, we encourage using the `block.json` metadata file as the canonical way to register block types. Here is an example `block.json` file that would define the metadata for a plugin create a notice block.

Expand Down

0 comments on commit 60bddd3

Please sign in to comment.