Skip to content

Commit

Permalink
Merge pull request #1897 from magento-obsessive-owls/PB-36
Browse files Browse the repository at this point in the history
[PB][Docs] PB-36: Creating custom Page Builder components
  • Loading branch information
davemacaulay authored Oct 18, 2019
2 parents e35b463 + d11fc37 commit 4d72f9f
Show file tree
Hide file tree
Showing 62 changed files with 1,306 additions and 455 deletions.
1 change: 1 addition & 0 deletions pwa-devdocs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache

node_modules
src/builds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,13 @@ module.exports = [
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Map/map.js',
type: 'function'
},
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Banner/banner.js',
type: 'function'
},
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/utils.js',
type: 'function'
}
];
96 changes: 59 additions & 37 deletions pwa-devdocs/src/_data/pagebuilder.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,77 @@
title: Page Builder
entries:
- label: Integration Overview
url: /pagebuilder/overview/

- label: Create custom components
url: /pagebuilder/creating-pb-components/
- label: Integration
url: /pagebuilder/

- label: Page Builder components
- label: Known limitations
url: /pagebuilder/known-limitations/

- label: Creating custom components
entries:
- label: Row
url: /pagebuilder/components/row/
- label: Overview
url: /pagebuilder/custom-components/overview/

- label: Column
url: /pagebuilder/components/column/

- label: Tabs
url: /pagebuilder/components/tabs/
- label: Set up component
url: /pagebuilder/custom-components/setup-component/

- label: Add aggregator
url: /pagebuilder/custom-components/add-aggregator/

- label: Add stylesheet
url: /pagebuilder/custom-components/add-stylesheet/

- label: Add component
url: /pagebuilder/custom-components/add-component/

- label: Debugging tips
url: /pagebuilder/custom-components/debugging/

- label: Utility functions
url: /pagebuilder/utility-functions/

- label: Components
entries:
- label: Banner
url: /pagebuilder/components/banner/

- label: Block
url: /pagebuilder/components/block/

- label: Text
url: /pagebuilder/components/text/

- label: Heading
url: /pagebuilder/components/heading/

- label: Buttons
url: /pagebuilder/components/buttons/


- label: Column
url: /pagebuilder/components/column/

- label: Divider
url: /pagebuilder/components/divider/


- label: Heading
url: /pagebuilder/components/heading/

- label: HTML Code
url: /pagebuilder/components/html/

- label: Image
url: /pagebuilder/components/image/

- label: Video
url: /pagebuilder/components/video/

- label: Banner
url: /pagebuilder/components/banner/

- label: Slider
url: /pagebuilder/components/slider/


- label: Map
url: /pagebuilder/components/map/

- label: Block
url: /pagebuilder/components/block/


- label: Products
url: /pagebuilder/components/products/


- label: Row
url: /pagebuilder/components/row/

- label: Slider
url: /pagebuilder/components/slider/

- label: Tabs
url: /pagebuilder/components/tabs/

- label: Text
url: /pagebuilder/components/text/

- label: Video
url: /pagebuilder/components/video/
3 changes: 0 additions & 3 deletions pwa-devdocs/src/_data/top-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
- label: Peregrine Components
url: /peregrine/

- label: PageBuilder
url: /pagebuilder/

- label: Venia Storefront
url: /venia-pwa-concept/

Expand Down
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/banner/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Banner
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Banner/banner.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Block
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Block/block.md %}
11 changes: 11 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/buttons/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Buttons
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Buttons/buttons.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/ButtonItem/buttonItem.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ title: Column
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Column/column.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/ColumnGroup/columnGroup.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/divider/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Divider
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Divider/divider.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/heading/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Heading
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Heading/heading.md %}
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
title: HTML Code
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Html/html.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Image
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Image/image.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/map/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Map
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Map/map.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/products/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Products
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Products/products.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/slider/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Slider
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Slider/slider.md %}
11 changes: 11 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/tabs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Tabs
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Tabs/tabs.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/TabItem/tabItem.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/text/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Text
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Text/text.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Video
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Video/video.md %}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4d72f9f

Please sign in to comment.