Skip to content

Commit d73c623

Browse files
authored
Fix minor documentation errors (#219)
* Fix missing parenthesis * Fix docs links to "extending" secton from core concepts * Remove unfilled [image tk] in documentation
1 parent 0c5f7e3 commit d73c623

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docs/concepts/index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,21 @@ Remote Data Blocks allows you to integrate remote data into posts, pages, patter
44

55
## Remote data
66

7-
**Remote data** refers to data that is fetched from an external source, such as an API or a third-party service. This might be a product in your Shopify store, data in an Airtable or Google Sheet, or a file in a GitHub repository. Remote data is usually fetched via HTTP requests but you can [extend the plugin](extending.md) to support other transports.
7+
**Remote data** refers to data that is fetched from an external source, such as an API or a third-party service. This might be a product in your Shopify store, data in an Airtable or Google Sheet, or a file in a GitHub repository. Remote data is usually fetched via HTTP requests but you can [extend the plugin](../extending/index.md) to support other transports.
88

99
## Remote data block
1010

1111
A **remote data block** is a custom block that fetches and displays data from a specific remote source. Each remote data block has a unique name and provides a specific kind of data.
1212

13-
For example, you might have a remote data block named "Shopify Product" that fetches a product from your Shopify store and displays the product's name, description, price, and image. Or, you might have a remote data block named "Conference event" that displays rows from an Airtable and displays the event's name, location, and type. It might look something like this:
14-
15-
[image tk]
13+
For example, you might have a remote data block named "Shopify Product" that fetches a product from your Shopify store and displays the product's name, description, price, and image. Or, you might have a remote data block named "Conference event" that displays rows from an Airtable and displays the event's name, location, and type.
1614

1715
Remote data blocks are **container blocks** that contain other blocks and provide remote data to them. You retain full control over the layout, design, and content. You can leverage patterns to enable consistent styling and workflows, and you can customize the block's appearance using the block editor or `theme.json`.
1816

1917
Remote data blocks are custom blocks, but they are created and registered by our plugin and don't require custom block development. Remote data is loaded via [the block bindings API](https://make.wordpress.org/core/2024/03/06/new-feature-the-block-bindings-api/).
2018

2119
## Data sources and queries
2220

23-
Each remote data block is associated with a **data source** and a **query** that defines how data is fetched, processed, and displayed. Simple data sources and queries can be configured via the plugin's settings screen, while others may require custom PHP code (see [extending](extending.md)).
21+
Each remote data block is associated with a **data source** and a **query** that defines how data is fetched, processed, and displayed. Simple data sources and queries can be configured via the plugin's settings screen, while others may require custom PHP code (see [extending](../extending/index.md)).
2422

2523
## Data fetching
2624

@@ -42,4 +40,4 @@ Since remote data blocks are container blocks, you can use patterns to create re
4240

4341
## Technical concepts
4442

45-
If you're a developer and want to understand the internals of Remote Data Blocks so that you can extend its functionality, head over the [extending guide](extending.md).
43+
If you're a developer and want to understand the internals of Remote Data Blocks so that you can extend its functionality, head over the [extending guide](../extending/index.md).

docs/extending/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Once you've defined your custom classes, you can [register a remote data block](
3333
### Additional customization
3434

3535
- [Block patterns](block-patterns.md)
36-
- [Hooks (actions and filters](hooks.md)
36+
- [Hooks (actions and filters)](hooks.md)
3737

3838
## Workflows
3939

0 commit comments

Comments
 (0)