Skip to content

Commit e5b26c3

Browse files
YDBDOCS-532: translate #15554 (#15987)
Co-authored-by: anton-bobkov <[email protected]>
1 parent e771f54 commit e5b26c3

File tree

14 files changed

+374
-5
lines changed

14 files changed

+374
-5
lines changed

ydb/docs/en/core/contributor/documentation/review.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Review process for {{ ydb-short-name }} documentation
22

3-
Building on the high-level overview in [{#T}](index.md), this article dives deeper into what happens during the pull request review stage.
3+
Building on the high-level overview in [{#T}](index.md), this article dives deeper into what happens during the documentation pull request review stage.
44

55
## Roles
66

@@ -55,7 +55,7 @@ Building on the high-level overview in [{#T}](index.md), this article dives deep
5555
- [ ] Each article follows a single [genre](genres.md) and aligns with its place in the documentation structure.
5656
- [ ] Each new article includes links to all relevant existing documentation pages, either inline or in a "See also" section.
5757
- [ ] Relevant existing articles are updated with links to new articles.
58-
- [ ] All new articles are listed in table of contents and their folder's `index.md`.
58+
- [ ] All new articles are listed in YAML files with table of contents and their folder's `index.md`.
5959
- [ ] All renamed or moved articles are reflected in [redirects.yaml](https://github.com/ydb-platform/ydb/blob/main/ydb/docs/redirects.yaml).
6060
- [ ] The article's voice, tone, and style match the rest of the documentation or, at a minimum, remain consistent within the article.
6161

ydb/docs/en/core/contributor/documentation/structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Introducing new top-level folders is possible, but it requires careful considera
2222
- **[For Developers](../../dev/index.md).** A folder for application developers working with {{ ydb-short-name }}. Primarily consists of [practical guides](genres.md#guide) and some [theory](genres.md#theory).
2323
- **[For Security Engineers](../../security/index.md).** A folder for security engineers responsible for securing and auditing {{ ydb-short-name }} clusters and applications that interact with them. Contains mostly [practical guides](genres.md#guide) and some role-specific [theory](genres.md#theory).
2424
- **[For Contributors](../../contributor/index.md)**.** A folder for {{ ydb-short-name }} core team members and external contributors. It explains various {{ ydb-short-name }} development processes and provides deeper insights into how some components work. Mostly [theory](genres.md#theory) with some [practical guides](genres.md#guide).
25-
- **[Reference](../../reference/index.md).** A detailed [reference](genres.md#reference) section covering various aspects of {{ ydb-short-name }}, designed to be found as needed. The primary goal is completeness so that any topic can be located through exact keyword matches or descriptions. The three main use cases for this section are:
25+
- **[Reference](../../reference/index.md).** A detailed [reference](genres.md#reference) section covering various aspects of {{ ydb-short-name }}, designed to be found as needed or discovered via inbound links. The primary goal is completeness so that any topic can be located through exact keyword matches or descriptions. The three main use cases for this section are:
2626
- Looking up unfamiliar keywords, functions, settings, arguments, etc.
2727
- Finding the correct syntax for queries, SDK interactions, or configuration files.
2828
- Providing external references when other articles mention features without explaining them in detail.

ydb/docs/en/core/contributor/documentation/style-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ Ensure that text follows proper language rules with no typos, grammar, punctuati
5656
- **Code and samples.** When including code, use proper syntax highlighting, formatting, and comments to ensure readability. Show example output for queries and CLI commands. Use `code blocks` for everything likely to appear in a console or IDE, but not for visual highlights.
5757
- **Linking and references.** Provide clear and descriptive links to related resources or additional documentation. Instead of repeating the target's header for internal links, use `[{#T}](path/to/an/article.md)`.
5858
- **No copy-pasting.** If a piece of information needs to be displayed more than once, create a separate Markdown file in the `_includes` folder, then add it to all necessary places via `{% include [...](_includes/path/to/a/file.md) %}` instead of duplicating content by copying and pasting.
59-
- **Markdown syntax style.** {{ ydb-short-name }} uses an automated linter for Markdown files. Refer to [.yfmlint](https://github.com/ydb-platform/ydb/blob/main/ydb/docs/.yfmlint) for the up-to-date list of enforced rules.
59+
- **Markdown syntax style.** {{ ydb-short-name }} documentation uses an automated linter for Markdown files. Refer to [.yfmlint](https://github.com/ydb-platform/ydb/blob/main/ydb/docs/.yfmlint) for the up-to-date list of enforced rules.
6060
- **Variable usage.** The {{ ydb-short-name }} documentation has a configuration file, [presets.yaml](https://github.com/ydb-platform/ydb/blob/main/ydb/docs/presets.yaml), that lists variables to prevent typos or conditionally hide content. Use these variables when appropriate, particularly `{{ ydb-short-name }}` instead of `YDB`.
61-
- **Diagrams.** Prefer built-in [Mermaid](https://github.com/diplodoc-platform/mermaid-extension) diagrams when possible. If using an external tool, submit the source file in the same folder for future edits. Ensure diagrams look good in both light and dark modes.
61+
- **Diagrams.** Prefer built-in [Mermaid](https://github.com/diplodoc-platform/mermaid-extension) diagrams when possible. If using an external tool, submit the source file in the same `_assets` folder near image for future edits. Ensure diagrams look good in both light and dark modes.
6262
- **Proper article placement.** New articles should be correctly placed in the [documentation structure](structure.md).
6363
- **Genre consistency.** Articles should not mix multiple [genres](genres.md), and the genre should match the article's place in the documentation structure.
6464

Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
## Жанры документации {{ ydb-short-name }}
2+
3+
Эта статья дополняет [{#T}](style-guide.md), описывая основные жанры статей, используемые в документации {{ ydb-short-name }}. Понимание этих жанров помогает контрибьюторам размещать новый контент в соответствующем разделе и поддерживать консистентную структуру материалов.
4+
5+
### Теория {#theory}
6+
7+
**Основная цель для читателя:** построить прочный фундамент знаний и прийти к пониманию основных концепций, архитектуры и принципов, на которых работает {{ ydb-short-name }}.
8+
9+
Теоретическая документация:
10+
11+
- вводит ключевые концепции и терминологию;
12+
- объясняет, как система работает как с точки зрения пользователя, так и изнутри;
13+
- предоставляет высокоуровневые обзоры компонентов системы;
14+
- помогает пользователям понять «почему» за архитектурными решениями;
15+
- может быть нацелен либо на широкую аудиторию с минимальными предварительными знаниями, либо на конкретную роль;
16+
- может включать диаграммы и другие визуализации для помощи в передаче информации.
17+
18+
Теоретическая документация в основном находится в разделе [{#T}](../../concepts/index.md), но также появляется и в папках, специфичных для ролей, когда теоретическая информация релевантна только для конкретной аудитории.
19+
20+
### Руководство {#guide}
21+
22+
**Основная цель для читателя:** выполнить конкретную практическую задачу или реализовать определённое решение с помощью {{ ydb-short-name }}, следуя инструкциям.
23+
24+
Руководства — это практические пошаговые инструкции, которые помогают пользователям достичь конкретной цели с помощью {{ ydb-short-name }}. Каждая статья в этом жанре:
25+
26+
- предоставляет чёткую цель и последовательные инструкции для её достижения;
27+
- включает конкретные примеры и команды;
28+
- фокусируется на практической реализации;
29+
- освещает конкретные сценарии использования;
30+
- может включать скриншоты для иллюстрации шагов.
31+
32+
Руководства в основном находятся в папках, специфичных для ролей, таких как [{#T}](../../devops/index.md), [{#T}](../../dev/index.md) и [{#T}](../../security/index.md), а также в разделе [{#T}](../../troubleshooting/index.md).
33+
34+
### Справочник {#reference}
35+
36+
**Основная цель для читателя:** найти дополнительную информацию по конкретной узкой теме, связанной с {{ ydb-short-name }}.
37+
38+
Справочная документация предоставляет всестороннюю, подробную информацию о компонентах {{ ydb-short-name }}, запросах, API, параметрах конфигурации, CLI-командах, страницах UI и многом другом. Этот жанр:
39+
40+
- стремится к полноте и точности;
41+
- служит ресурсом для поиска конкретных деталей;
42+
- документирует все доступные опции, параметры и настройки;
43+
- организован для быстрого поиска информации через поисковую систему или [LLM](https://ru.wikipedia.org/wiki/Большая_языковая_модель);
44+
- включает синтаксис, типы данных, параметры, возвращаемые значения, значения по умолчанию, конфигурацию и примеры.
45+
46+
Справочная документация разработана для поиска по мере необходимости и является самым подробным уровнем документации. Она особенно полезна, когда пользователям нужна конкретная информация о функциях, настройках или ключевых словах. Этот контент в основном находится в разделе [{#T}](../../reference/index.md).
47+
48+
### FAQ {#faq}
49+
50+
**Основная цель для читателя:** быстро найти ответы на распространённые вопросы, возникающие при работе с {{ ydb-short-name }}.
51+
52+
Документация часто задаваемых вопросов (FAQ) отвечает на общие вопросы о {{ ydb-short-name }} в формате прямых вопросов и ответов на них. Этот жанр:
53+
54+
- обращается к конкретным, часто задаваемым вопросам;
55+
- предоставляет краткие, сфокусированные ответы;
56+
- организован по темам или категориям;
57+
- помогает пользователям быстро находить решения типовых проблем;
58+
- оптимизирован для обнаружения поисковыми системами или LLM.
59+
60+
Контент FAQ в основном находится в разделе [{#T}](../../faq/index.md) и разработан для помощи пользователям, которые ищут конкретные решения для типовых ситуаций.
61+
62+
### Рецепт {#recipe}
63+
64+
**Основная цель для читателя:** реализовать конкретное, сфокусированное решение для типовой проблемы или сценария использования с помощью {{ ydb-short-name }}.
65+
66+
Рецепты — это короткие, сфокусированные мини-руководства, которые демонстрируют, как выполнять конкретные задачи с помощью {{ ydb-short-name }}. Этот жанр:
67+
68+
- предоставляет краткие решения для конкретных проблем;
69+
- включает фрагменты кода и примеры;
70+
- акцентирует внимание на практической реализации;
71+
- более узко сфокусирован, чем полноценные [руководства](#guide);
72+
- часто следует формату проблема-решение.
73+
74+
Рецепты в основном находятся в разделе [{#T}](../../recipes/index.md), хотя похожий контент может также появляться в папках, специфичных для роли.
75+
76+
### Заметки о выпуске {#release-notes}
77+
78+
**Основная цель для читателя:** быть в курсе новых функций, улучшений, исправлений ошибок и критических изменений в выпусках {{ ydb-short-name }}.
79+
80+
Заметки о выпуске документируют изменения, улучшения и исправления в каждой новой версии {{ ydb-short-name }}. Этот жанр:
81+
82+
- перечисляет новые функции и улучшения;
83+
- документирует исправления ошибок и решённые проблемы;
84+
- выделяет критические изменения и устаревшие функции;
85+
- предоставляет инструкции по обновлению при необходимости;
86+
- организован хронологически по номеру версии.
87+
88+
Заметки о выпуске находятся в разделе [{#T}](../../changelog-server.md) и помогают пользователям понять, что изменилось между версиями, и решить, обновляться ли.
89+
90+
### Коллекция ссылок {#links}
91+
92+
**Основная цель для читателя:** открыть для себя дополнительные ресурсы, учебные материалы и внешний контент, связанный с {{ ydb-short-name }}.
93+
94+
Коллекции ссылок предоставляют курированные списки ресурсов, связанных с {{ ydb-short-name }}. Этот жанр:
95+
96+
- агрегирует релевантные сторонние или внутренние ресурсы;
97+
- предоставляет краткие описания каждого связанного ресурса;
98+
- может быть организован по темам, форматам или степени релевантности;
99+
- помогает пользователям открывать для себя дополнительные учебные материалы;
100+
- может включать видео, статьи, загрузки и другой контент.
101+
102+
Коллекции ссылок в основном находятся в разделах [{#T}](../../public-materials/videos.md) и [{#T}](../../downloads/index.md) и выступают входными точками к внешним ресурсам о {{ ydb-short-name }}.

0 commit comments

Comments
 (0)