Skip to content

Commit db1d1ca

Browse files
authored
chore(docs, demo): updated stories names, updated README (#532)
1 parent 3ebf14f commit db1d1ca

12 files changed

+27
-21
lines changed

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const preview: Preview = {
1212
},
1313
options: {
1414
storySort: {
15-
order: ['Playground', 'Docs', 'Extensions', ['Presets', '*'], '*'],
15+
order: ['Playground', 'Docs', 'Extensions', 'Settings', ['Presets', '*'], '*'],
1616
},
1717
},
1818
controls: {

README-ru.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function Editor({onSubmit}) {
5151
return <MarkdownEditorView stickyToolbar autofocus toaster={toaster} editor={editor} />;
5252
}
5353
```
54+
5455
Полезные ссылки:
5556
- [Как подключить редактор в Create React App](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-install-create-react-app--docs)
5657
- [Как добавить предварительный просмотр для режима разметки](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-develop-preview--docs)
@@ -61,7 +62,13 @@ function Editor({onSubmit}) {
6162
- [Как добавить расширение GPT](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-connect-gpt--docs)
6263
- [Как добавить расширение привязки текста в Markdown](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-develop-extension-with-popup--docs)
6364

65+
### Разработка
66+
67+
Для запуска Storybook в режиме разработки выполните следующую команду:
6468

69+
```shell
70+
npm start
71+
```
6572

6673
### i18n
6774

@@ -77,10 +84,7 @@ configure({
7784

7885
Обязательно сделайте вызов `configure()` из [UIKit](https://github.com/gravity-ui/uikit?tab=readme-ov-file#i18n) и других UI-библиотек.
7986

80-
## Разработка
8187

82-
Для запуска Storybook в режиме разработки выполните следующую команду:
88+
### Участие в разработке
8389

84-
```shell
85-
npm start
86-
```
90+
- [Информация для контрибьюетров](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-contributing--docs)

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ Read more:
6161
- [How to add GPT extension](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-connect-gpt--docs)
6262
- [How to add text binding extension in markdown](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-develop-extension-with-popup--docs)
6363

64+
### Development
65+
To start the dev storybook
66+
67+
```shell
68+
npm start
69+
```
6470

6571

6672
### i18n
@@ -77,10 +83,6 @@ configure({
7783

7884
Don't forget to call `configure()` from [UIKit](https://github.com/gravity-ui/uikit?tab=readme-ov-file#i18n) and other UI libraries.
7985

80-
## Development
86+
### Contributing
8187

82-
To start the dev storybook
83-
84-
```shell
85-
npm start
86-
```
88+
- [Contributor Guidelines](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-contributing--docs)

demo/stories/css-variables/CSSVariables.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export const Story: StoryObj<typeof component> = {
3333
Story.storyName = 'Custom CSS Variables';
3434

3535
export default {
36-
title: 'Experiments / Custom CSS Variables',
36+
title: 'Settings / Custom CSS Variables',
3737
component,
3838
};

docs/how-to-add-editor-with-create-react-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Install / Create react app
1+
##### Getting started / Create react app
22

33
## Installation Guide
44

docs/how-to-add-editor-with-nextjs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Install / NextJS
1+
##### Getting started / NextJS
22

33
## Connection and Configuration
44
This document provides instructions for configuring Webpack and Turbopack to avoid issues related to the 'fs' module and for connecting the editor on the nextjs client side.

docs/how-to-add-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Develop / Preview
1+
##### Getting started / Preview
22

33
## How to Add Preview for Markup Mode
44

docs/how-to-connect-gpt-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Connect / GPT
1+
##### Extensions / GPT
22

33
## How to connect GPT extensions to editor
44

docs/how-to-connect-html-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Connect / Html block
1+
##### Extensions / Html block
22

33
## How to Connect the HTML Extension in the Editor
44

docs/how-to-connect-latex-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##### Connect / Latex extension
1+
##### Extensions / Latex extension
22

33
## How to Connect the Latex Extension in the Editor
44

0 commit comments

Comments
 (0)