Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fundamentals block development - landing and first pages #56584

Merged
merged 11 commits into from
Nov 28, 2023
9 changes: 9 additions & 0 deletions docs/getting-started/fundamentals/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Fundamentals of Block Development

This section provides an introduction to the most important concepts in Block Development.

In this section, you will learn:

1. [**File structure of a block**](https://developer.wordpress.org/block-editor/getting-started/fundamentals/file-structure-of-a-block) - The purpose of each one of the types of files available for a block, the relationships between them, and their role in the output of the block.
1. [**Registration of a block**](https://developer.wordpress.org/block-editor/getting-started/fundamentals/registration-of-a-block) - How a block is registered in both the server and the client.
1. [**Javascript in the Block Editor**](https://developer.wordpress.org/block-editor/getting-started/fundamentals/javascript-in-the-block-editor) - How to work with Javascript for the Block Editor.
24 changes: 24 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,30 @@
"markdown_source": "../docs/getting-started/create-block/submitting-to-block-directory.md",
"parent": "create-block"
},
{
"title": "Fundamentals of Block Development",
"slug": "fundamentals",
"markdown_source": "../docs/getting-started/fundamentals/README.md",
"parent": "getting-started"
},
{
"title": "File structure of a block",
"slug": "file-structure-of-a-block",
"markdown_source": "../docs/getting-started/fundamentals/file-structure-of-a-block.md",
"parent": "fundamentals"
},
{
"title": "Registration of a block",
"slug": "registration-of-a-block",
"markdown_source": "../docs/getting-started/fundamentals/registration-of-a-block.md",
"parent": "fundamentals"
},
{
"title": "Working with Javascript for the Block Editor",
"slug": "javascript-in-the-block-editor",
"markdown_source": "../docs/getting-started/fundamentals/javascript-in-the-block-editor.md",
"parent": "fundamentals"
},
{
"title": "Glossary",
"slug": "glossary",
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
Expand Up @@ -78,7 +78,7 @@ Development is improved by using a defined schema definition file. Supported edi
```

<div class="callout callout-info">
Check <a href="/docs/getting-started/fundamentals-block-development/registration-of-a-block.md">Registration of a block</a> to learn more about how to register a block using its metadata.
Check <a href="https://developer.wordpress.org/block-editor/getting-started/fundamentals-block-development/registration-of-a-block">Registration of a block</a> to learn more about how to register a block using its metadata.
</div>

## Block API
Expand Down
13 changes: 13 additions & 0 deletions docs/toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@
}
]
},
{
"docs/getting-started/fundamentals/README.md": [
{
"docs/getting-started/fundamentals/file-structure-of-a-block.md": []
},
{
"docs/getting-started/fundamentals/registration-of-a-block.md": []
},
{
"docs/getting-started/fundamentals/javascript-in-the-block-editor.md": []
}
]
},
{ "docs/getting-started/glossary.md": [] },
{ "docs/getting-started/faq.md": [] }
]
Expand Down
Loading