Skip to content

Commit 23bd540

Browse files
committed
MAGEDOC-3583: RTM topics and tasks
Create examples topic
1 parent d8c9046 commit 23bd540

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

docs/getting-started/code-examples.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Code examples
2+
3+
You can find the code examples used and referred to within this documentation on GitHub in the [pagebuilder-examples repo](https://github.com/magento-devdocs/pagebuilder-examples).
4+
5+
This repo contains two types of examples:
6+
7+
- Fully functional content types
8+
- Files to complement how-to topics
9+
10+
## Fully functional content types
11+
12+
The custom content type modules are here for you to download and install so you can learn by example. These content type modules include the following three:
13+
14+
- **[PageBuilderQuote](https://github.com/magento-devdocs/pagebuilder-examples/tree/master/PageBuilderQuote)** — This is the completed module featured in the [content type tutorial](../create-basic-content-type/overview.md). This module provides an example of a simple content type that provides stylized quotations you can use for things like customer testimonials.
15+
- **[PageBuilderGrid](https://github.com/magento-devdocs/pagebuilder-examples/tree/master/PageBuilderGrid)** — This module shows how you can create a content type to rebuild the Magento Luma home page using a grid structure with grid items.
16+
- **[PageBuilderFaq](https://github.com/magento-devdocs/pagebuilder-examples/tree/master/PageBuilderFaq)** — This module shows how you can create a content type for an FAQ page that uses an accordion for the questions and answers.
17+
18+
## Files to complement how-to topics
19+
20+
This documentation contains several how-to topics for adding features to your content type. The corresponding how-to directories in the repo provide the code changes required for adding the feature to the PageBuilderQuote module.
21+
22+
For example, the topic [How to add a custom toolbar](../how-to/how-to-add-custom-toolbar.md), has a corresponding directory within the [pagebuilder-examples repo](https://github.com/magento-devdocs/pagebuilder-examples) called [how-to-add-custom-toolbar](https://github.com/magento-devdocs/pagebuilder-examples/tree/master/how-to-add-custom-toolbar). This directory provides the files with the code changes you need to make in order to add a custom toolbar to the PageBuilderQuote module.
23+
24+
25+
26+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# What is Page Builder?
2+
3+
In progress...

0 commit comments

Comments
 (0)