Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/project/page-constructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Page constructor (hereinafter – PC) is a library of the [Gravity UI](https://gravity-ui.com/) family for rendering web pages based on data presented in YAML format.
When creating pages, a component-based approach is used: the page is built using a set of ready-made blocks that can be placed in any order. Each block has a specific type and a set of input data parameters.
The input data format and the list of available blocks can be found in the [library documentation](https://preview.gravity-ui.com/page-constructor/?path=/docs/documentation-blocks--docs). In the PC storybook, there is a [convenient sandbox](https://preview.gravity-ui.com/page-constructor/1116/?path=/story/editor-main--default) where you can first try out all the blocks and assemble a page, and then copy the ready-made config into your documentation.
The input data format and the list of available blocks can be found in the [library documentation](https://preview.gravity-ui.com/page-constructor/?path=/docs/documentation-blocks--docs). In the PC storybook, there is a [convenient sandbox](https://diplodoc-platform.github.io/playground/?prefill=true&mode=PC) where you can first try out all the blocks and assemble a page, and then copy the ready-made config into your documentation.

Examples of page design using PC [\[1\]](./pc-example1.yaml) [\[2\]](./pc-example2.yaml) [\[3\]](./pc-example3.yaml)

Expand Down
2 changes: 1 addition & 1 deletion ru/project/page-constructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Page constructor (далее – PC) — это библиотека семейства [Gravity UI](https://gravity-ui.com/) для рендеринга веб-страниц на основе данных представленных в YAML формате.
При создании страниц используется компонентный подход: страница строится с использованием набора готовых блоков, которые можно размещать в любом порядке. Каждый блок имеет определенный тип и набор параметров входных данных.
Формат входных данных и список доступных блоков можно посмотреть в [документации библиотеки](https://preview.gravity-ui.com/page-constructor/?path=/docs/documentation-blocks--docs). В сторибуке PC есть [удобная песочница](https://preview.gravity-ui.com/page-constructor/1116/?path=/story/editor-main--default), в которой сначала можно опробовать все блоки и собрать страницу, а уже потом скопировать готовый конфиг к себе в документацию.
Формат входных данных и список доступных блоков можно посмотреть в [документации библиотеки](https://preview.gravity-ui.com/page-constructor/?path=/docs/documentation-blocks--docs). В сторибуке PC есть [удобная песочница](https://diplodoc-platform.github.io/playground/?prefill=true&mode=PC), в которой сначала можно опробовать все блоки и собрать страницу, а уже потом скопировать готовый конфиг к себе в документацию.

Примеры оформление страниц с помощью PC [\[1\]](./pc-example1.yaml) [\[2\]](./pc-example2.yaml) [\[3\]](./pc-example3.yaml)

Expand Down