Skip to content

Commit fac945a

Browse files
committed
MC-5710: Beta docs tutorial
Updated broken links to images and other topics
1 parent c810c6d commit fac945a

8 files changed

+137
-32
lines changed

docs/create-basic-content-type/step-1-add-configuration.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ The following configuration shows the minimal requirements for defining a conten
1818

1919
``` xml
2020
<?xml version="1.0"?>
21-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22-
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_PageBuilder:etc/content_type.xsd">
23-
<type name="heading"
24-
label="Heading"
25-
component="Magento_PageBuilder/js/content-type"
26-
preview_component="Magento_PageBuilder/js/content-type/heading/preview"
27-
form="pagebuilder_heading_form"
21+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_PageBuilder:etc/content_type.xsd">
22+
<type name="example"
23+
label="Example"
2824
group="elements"
25+
component="Magento_PageBuilder/js/content-type"
26+
preview_component="Vendor_Module/js/content-type/example/preview"
27+
master_component="Magento_PageBuilder/js/content-type/master"
28+
form="pagebuilder_example_form"
2929
icon="icon-pagebuilder-heading"
30-
sortOrder="20"
30+
sortOrder="21"
3131
translate="label">
3232
<children default_policy="deny"/>
3333
<appearances>
34-
<appearance default="true"
35-
name="default"
36-
preview_template="Magento_PageBuilder/content-type/heading/default/preview"
37-
render_template="Magento_PageBuilder/content-type/heading/default/master"
34+
<appearance name="default"
35+
default="true"
36+
preview_template="Vendor_Module/content-type/example/default/preview"
37+
render_template="Vendor_Module/content-type/example/default/master"
3838
reader="Magento_PageBuilder/js/master-format/read/configurable">
3939
<elements>
4040
<element name="main">
@@ -48,8 +48,8 @@ The following configuration shows the minimal requirements for defining a conten
4848
<style name="padding" storage_key="margins_and_padding" reader="Magento_PageBuilder/js/property/paddings" converter="Magento_PageBuilder/js/converter/style/paddings"/>
4949
<attribute name="name" source="data-role"/>
5050
<attribute name="appearance" source="data-appearance"/>
51-
<tag name="heading_type"/>
52-
<html name="heading_text" converter="Magento_PageBuilder/js/converter/html/tag-escaper"/>
51+
<tag name="example_type"/>
52+
<html name="example_text" converter="Magento_PageBuilder/js/converter/html/tag-escaper"/>
5353
<css name="css_classes"/>
5454
</element>
5555
</elements>

docs/getting-started/install-pagebuilder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ When a new version of Page Builder is available, destroy your existing 2.3.0-alp
5050

5151
### Page Builder repositories access problems
5252

53-
If you are having trouble accessing PageBuilder repositories, please contact [Igor Melnykov] or [Olena Tkacheva].
53+
If you are having trouble accessing PageBuilder repositories, please contact [Olena Tkacheva].
5454

5555
### 2.3 alpha installation problems
5656

@@ -65,7 +65,7 @@ Could not find a matching version of package magento/module-page-builder-commerc
6565
```
6666

6767
Check your composer keys in the `auth.json` file.
68-
If these keys are correct and you still encounter these errors, please contact [Igor Melnykov] or [Olena Tkacheva].
68+
If these keys are correct and you still encounter these errors, please contact [Olena Tkacheva].
6969

7070
[Olena Tkacheva]: https://magentocommeng.slack.com/messages/@UAFV915FB
7171

docs/getting-started/introduction.md

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,113 @@
1+
<!-- {% raw %} -->
2+
13
# Introduction
24

35
PageBuilder is a module that provides a visual way to build content within the Admin editor for Magento 2.3 and above.
46
It replaces the default WYSIWYG Editor in the Admin area with a highly configurable drag-and-drop editing system.
57

6-
[This page will introduce Page Builder by providing infographics, screenshots, and descriptions for what Page Builder is and how it works.]
8+
## PageBuilder Early Access Program
9+
10+
The PageBuilder Early Access Program (EAP) gives partners the following perks:
11+
12+
* Explore PageBuilder extension points to build custom modules and integrations for 3rd party services, such as Facebook, Instagram, etc.
13+
* Try out PageBuilder customization options and extend its functionality beyond its default features.
14+
* Preview PageBuilder to prepare a migration plan from BlueFoot 1.0 to PageBuilder.
15+
16+
**Note:**
17+
*This program should not be used to design and launch a production website using early code.*
18+
19+
## Installation
20+
21+
To install Page Builder, use the method described in the topic [Install Page Builder].
22+
23+
[Install Page Builder]: install-pagebuilder.md
24+
25+
<!-- {% comment %} -->
26+
27+
## Developer documentation
28+
29+
### Getting Started
30+
31+
* [Introduction](../getting-started/introduction.md)
32+
* [Install Page Builder](../getting-started/install-pagebuilder.md)
33+
* [Activate Page Builder](../getting-started/activate-pagebuilder.md)
34+
* [View Page Builder](../getting-started/view-pagebuilder.md)
35+
36+
### Create a content type
37+
38+
* [Overview](../create-basic-content-type/overview.md)
39+
* [Step 1: Add configuration](../create-basic-content-type/step-1-add-configuration.md)
40+
* [Step 2: Add templates](../create-basic-content-type/step-2-add-templates.md)
41+
* [Step 3: Add components](../create-basic-content-type/step-3-add-components.md)
42+
* [Step 4: Add editor](../create-basic-content-type/step-4-add-editor.md)
43+
* [Step 5: Add styles](../create-basic-content-type/step-5-add-styles.md)
44+
* [Step 6: Add frontend widget](../create-basic-content-type/step-6-add-frontend-widget.md)
45+
* [What's next](../create-basic-content-type/whats-next.md)
46+
47+
### Configurations
48+
49+
* [Main configurations](../configurations/content-type-configuration.md)
50+
* [Additional configurations](../configurations/additional-configurations.md)
51+
* [Panel configurations](../configurations/panel-configurations.md)
52+
* [Option menu configurations](../configurations/option-menu-configurations.md)
53+
* [Iconography](../configurations/iconography.md)
54+
* [Block chooser configuration](../configurations/block-chooser-configuration.md)
55+
* [Full-width page layout configuration](../configurations/full-width-page-layout-configuration.md)
56+
* [Responsive layout configuration](../configurations/responsive-layout-configuration.md)
57+
* [Storefront configuration](../configurations/storefront-configuration.md)
58+
* [Selector configuration](../configurations/selector-configuration.md)
59+
* [Product conditions configuration](../configurations/product-conditions-configuration.md)
60+
* [Server-side rendered previews](../configurations/server-side-rendered-previews.md)
61+
62+
### How Tos
63+
64+
* [How to develop a new content type](../how-to/how-to-develop-new-content-type.md)
65+
* [How to develop a container content type](../how-to/how-to-develop-container-content-type.md)
66+
* [How to use the Image Uploader](../how-to/how-to-use-image-uploader.md)
67+
* [How to use the Image Uploader](../how-to/how-to-use-image-uploader.md)
68+
* [How to add inline text editing](../how-to/how-to-add-inline-text-editing.md)
69+
* [How to add a custom toolbar](../how-to/how-to-add-custom-toolbar.md)
70+
* [How to convert product attribute fields to use Page Builder](../how-to/how-to-convert-product-attributes-to-use-pagebuilder.md)
71+
* [How to store a component master format as a widget-directive](../how-to/how-to-store-master-format-as-widget-directive.md)
72+
73+
### Reference
74+
75+
* [Architecture](../reference/architecture.md)
76+
* [Events](../reference/events.md)
77+
* [Knockout bindings](../reference/knockout-bindings.md)
78+
* [Master format](../reference/master-format.md)
79+
80+
### Migration
81+
82+
* [Migrate from BlueFoot](../migration/migrate-from-bluefoot.md)
83+
* [Migrate custom content types from BlueFoot](../migration/migrate-custom-content-types-from-bluefoot.md)
84+
85+
<!-- {% endcomment %} -->
86+
87+
## Contribute to PageBuilder
88+
89+
We appreciate any and all contributions to PageBuilder. If you are interested in contributing to this repository, please see our [Contribution Guide].
90+
91+
[Contribution Guide]: CONTRIBUTING.md
92+
93+
## PageBuilder updates from the Magento core team
94+
95+
The PageBuilder team updates the code every 2 weeks.
96+
**These changes may introduce breaking changes.**
97+
98+
## Provide feedback
99+
100+
We want to hear what you think of PageBuilder!
101+
We are particularly interested on your thoughts on the following:
102+
103+
* [How would you customize PageBuilder and what do you need to accomplish this task?](https://github.com/magento/magento2-page-builder/issues/57)
104+
* [What web content API do you use or would like to see in PageBuilder?](https://github.com/magento/magento2-page-builder/issues/58)
105+
106+
To participate in technical discussions and ask questions, join us in [Slack].
107+
108+
For all other questions or requests, contact [Olena Tkacheva].
109+
110+
[Slack]: https://magentocommeng.slack.com/
111+
[Olena Tkacheva]: https://magentocommeng.slack.com/messages/@UAFV915FB
7112

8-
TBW
113+
<!-- {% endraw %} -->

docs/how-to/how-to-add-custom-toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This document outlines how to implement the inline editing toolbar for any content type. This feature is used within the heading to allow for easy modification of the heading type and alignment. It can be used within your content types to quickly change common things without needing to open the full editor.
88

9-
![Page Builder toolbar](images/toolbar.png)
9+
![Page Builder toolbar](../images/toolbar.png)
1010

1111
## Overview
1212

docs/how-to/how-to-convert-product-attributes-to-use-pagebuilder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ To prevent your form field from switching or using PageBuilder, set the `is_page
119119
...
120120
```
121121

122-
[Catalog Input Type]: images/catalog-input-type.png
123-
[PageBuilder button]: images/pagebuilder-button.png
122+
[Catalog Input Type]: ../images/catalog-input-type.png
123+
[PageBuilder button]: ../images/pagebuilder-button.png
124124
[WYSIWYG UI Component]: https://devdocs.magento.com/guides/v2.2/ui_comp_guide/components/ui-wysiwyg.html
125125
[UI Component configuration file]: https://devdocs.magento.com/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.html
126126

docs/how-to/how-to-develop-container-content-type.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,21 +1012,21 @@ bin/magento setup:upgrade
10121012

10131013
You should now see a new custom content type in PageBuilder called **Custom Container** with a default appearance of **left**.
10141014

1015-
![Custom Containers Panel](images/custom-containers-panel.png)
1015+
![Custom Containers Panel](../images/custom-containers-panel.png)
10161016

10171017
When you place it onto the stage, it should be filled with 3 container content types that have only one option to edit.
10181018

10191019
The left appearance will have 2 rows of containers on the left side and the right appearance will have 2 rows on the right side.
10201020

10211021
Left:
1022-
![Custom Containers Left Appearance](images/custom-containers-left.png)
1022+
![Custom Containers Left Appearance](../images/custom-containers-left.png)
10231023

10241024
Right:
1025-
![Custom Containers Right Appearance](images/custom-containers-right.png)
1025+
![Custom Containers Right Appearance](../images/custom-containers-right.png)
10261026

10271027
Use the configuration form in the container group's edit panel to switch between the left and right appearances.
10281028

1029-
![Custom Containers Form](images/custom-containers-form.png)
1029+
![Custom Containers Form](../images/custom-containers-form.png)
10301030

10311031
[How to add a new content type]: how-to-add-new-content-type.md
10321032
[Register your component]: https://devdocs.magento.com/guides/v2.2/extension-dev-guide/build/component-registration.html

docs/how-to/how-to-develop-new-content-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The steps for creating a Page Builder content type are briefly outlined here. Th
2626

2727
## Step 1: Add a configuration
2828

29-
Adding a new content type starts with an XML [configuration](content-type-configuration.md) file.
29+
Adding a new content type starts with an XML [configuration](../configurations/content-type-configuration.md) file.
3030

3131
To add configuration for a new content type, create a file under the following location `Vendor\ModuleName\view\adminhtml\pagebuilder\content_type\simple.xml` with the following content:
3232

docs/reference/architecture.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To revert back to using the default WYSIWYG, add the following entry to the fiel
4949

5050
## Big picture
5151

52-
![Page Builder big picture](images/big-picture.png)
52+
![Page Builder big picture](../images/big-picture.png)
5353

5454
| Entity | Name in configuration | Description |
5555
| ----------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- |
@@ -65,13 +65,13 @@ To revert back to using the default WYSIWYG, add the following entry to the fiel
6565

6666
## Data flow
6767

68-
![Page Builder data flow](images/data-flow.png)
68+
![Page Builder data flow](../images/data-flow.png)
6969

7070
The following is a simple overview of the data flow:
7171

7272
1. Data is read by reader `Magento_PageBuilder/js/master-format/read/configurable`.
7373
2. Data for each element (`border`, `border_color`, `border_width` etc) is converted to an internal format by element converters.
74-
3. Data is converted by mass converters. For more details see [converter interface](content-type-configuration.md).
74+
3. Data is converted by mass converters. For more details see [converter interface](../configurations/content-type-configuration.md).
7575
4. Content type is created and `Magento_PageBuilder/js/data-store` is populated with data.
7676
5. Data in the data store is modified in the form or using live edit.
7777
6. Data is converted by mass converters.
@@ -95,13 +95,13 @@ An element converter modifies a single field at a time.
9595

9696
Data for content types are stored in a simple object called the DataStore `Magento_PageBuilder/js/data-store`.
9797

98-
`var` from [content type configuration](content-type-configuration.md) is the name of a parameter in the DataStore.
98+
`var` from [content type configuration](../configurations/content-type-configuration.md) is the name of a parameter in the DataStore.
9999

100100
You can use the `subscribe` method to subscribe to changes in the data and perform custom action on it.
101101

102102
## Content type configuration
103103

104-
Please see [content type configuration](content-type-configuration.md#Converter Interfaces) for information on content type configuration.
104+
Please see [content type configuration](../configurations/content-type-configuration.md#Converter Interfaces) for information on content type configuration.
105105

106106
## Appearances
107107

@@ -127,6 +127,6 @@ Appearances allow you to make the following customization on existing content ty
127127

128128
[TypeScript]: https://www.typescriptlang.org/
129129
[master format]: master-format.md
130-
[content type]: how-to-add-new-content-type.md
130+
[content type]: ../how-to/how-to-develop-new-content-type.md
131131

132132
<!-- {% endraw %} -->

0 commit comments

Comments
 (0)