Newer
Older
# https://www.mkdocs.org/user-guide/configuration/
# Общие настройки
# site_name — https://www.mkdocs.org/user-guide/configuration/#site_name
# site_description — https://www.mkdocs.org/user-guide/configuration/#site_description
# site_url — https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#stay-on-the-same-page-when-switching-versions
# repo_url — https://www.mkdocs.org/user-guide/configuration/#repo_url
# edit_uri — https://www.mkdocs.org/user-guide/configuration/#edit_uri
repo_url: https://git.picodata.io/picodata/picodata/docs
# site_url: see hooks/set_site_url.py
# https://www.mkdocs.org/user-guide/configuration/#not_in_nav
not_in_nav: |
# Навигация
# https://www.mkdocs.org/user-guide/configuration/#nav
- Ознакомление с ПО Picodata:
- overview/description.md
- overview/benefits.md
- overview/glossary.md
- overview/feedback.md
- Инструкции и руководства:
- Запуск и развертывание:
- tutorial/run.md
- tutorial/deploy.md
- tutorial/deploy_ansible.md
- Начало работы:
- tutorial/connecting.md
- tutorial/sql_examples.md
- tutorial/webui.md
- Администрирование кластера:
- tutorial/monitoring.md
- tutorial/backup.md
- tutorial/access_control.md
- tutorial/ldap.md
- tutorial/audit_log.md
- Разработка приложений:
- Оглавление: connectors_index.md
- tutorial/connectors/java.md
- reference/sql/dcl.md
- reference/sql/ddl.md
- reference/sql/dml.md
- reference/sql/dql.md
- reference/sql/non_block.md
- reference/sql/object.md
- reference/sql_types.md
- reference/sql/parametrization.md
- reference/ansi_sql.md
- Команды:
- reference/sql/alter_procedure.md
- reference/sql/alter_user.md
- reference/sql/call.md
- reference/sql/create_procedure.md
- reference/sql/create_role.md
- reference/sql/create_table.md
- reference/sql/create_user.md
- reference/sql/delete.md
- reference/sql/drop_procedure.md
- reference/sql/drop_role.md
- reference/sql/drop_table.md
- reference/sql/drop_user.md
- reference/sql/explain.md
- reference/sql/grant.md
- reference/sql/insert.md
- reference/sql/revoke.md
- reference/sql/select.md
- reference/sql/update.md
- reference/sql/values.md
- reference/sql/aggregate.md
- reference/sql/cast.md
- reference/cli.md
- reference/config.md
- architecture/discovery.md
- architecture/instance_lifecycle.md
- architecture/instance_runtime_files.md
- architecture/topology_management.md
- architecture/raft_failover.md
- architecture/plugins.md
- Плагины:
- plugins/synapse.md
- plugins/gostech_audit_log.md
- security/integrity.md
# Настройки темы Material
## name, custom_dir — https://squidfunk.github.io/mkdocs-material/customization/#setup-and-theme-structure
## font — https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#regular-font
## logo — https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo
## favicon — https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#favicon
## language — https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language
## features:
### toc.follow — https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following
### content.code.annotate — https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations
### content.code.copy — https://squidfunk.github.io/mkdocs-material/upgrade/#contentcodecopy
### content.action.edit — https://squidfunk.github.io/mkdocs-material/upgrade/#contentaction
### navigation.footer — https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#navigation
theme:
name: material
custom_dir: overrides
font:
text: Inter
logo: assets/logo.svg
icon: assets/icon.svg # Custom setting
favicon: assets/favicon.png
language: ru
features:
- toc.follow
# Дополнительные настройки темы Material
## analytics — https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#setting-up-site-analytics
## version — https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#configuration
## > version: provider: mike
## Активирует селектор версий `class="md-version"`.
## Список селектора `md-version__list` формируется из файла `versions.json`
## https://github.com/squidfunk/mkdocs-material/blob/9.4.8/src/templates/assets/javascripts/bundle.ts#L156
analytics:
provider: google
property: G-6X8Z5N2CGR
feedback:
title: Была ли эта информация полезной для вас?
ratings:
- icon: material/emoticon-happy-outline
name: Да, это было полезно
data: 1
note: >-
Благодарим за отзыв!
- icon: material/emoticon-sad-outline
name: Страница требует улучшения
data: 0
Благодарим за отзыв! <a href="https://t.me/picodataru"
target="_blank" rel="noopener">Напишите</a>, что бы вы хотели
улучшить на этой странице или в целом на сайте документации.
# version: see hooks/set_versioning.py
# Кастомизация CSS
# https://www.mkdocs.org/user-guide/configuration/#extra_css
# Плагины MkDocs
# https://www.mkdocs.org/user-guide/configuration/#plugins
## > open-in-new-tab
## Вставляет атрибуты `target="_blank"` и `rel="noopener"` во внешние ссылки
## https://github.com/JakubAndrysek/mkdocs-open-in-new-tab
## > search
## Добавляет в хедер панель поиска
## https://www.mkdocs.org/user-guide/configuration/#search
## https://squidfunk.github.io/mkdocs-material/plugins/search/
# Расширения Python Markdown
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/
## > attr_list
## Добавляет синтаксис для определения атрибутов различных элементов HTML в выводе Markdown.
## Используется для кастомизации якорей в формате {: #anchor }. Двоеточие и пробелы можно убирать
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#attribute-lists
## https://python-markdown.github.io/extensions/attr_list/
## > admonition
## Добавляет синтаксис для оформления выносок `!!! note`
## https://python-markdown.github.io/extensions/admonition/
## https://squidfunk.github.io/mkdocs-material/reference/admonitions/#usage
## Описание типов выносок:
## https://squidfunk.github.io/mkdocs-material/reference/admonitions/#supported-types
## > pymdownx.details
## Добавляет синтаксис для оформления сворачиваемых блоков `??? note`
## https://squidfunk.github.io/mkdocs-material/reference/admonitions/#collapsible-blocks
## https://facelessuser.github.io/pymdown-extensions/extensions/details/
## > toc.permalink: true
## Добавляет ссылку на якорь в конце каждого заголовка
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#+toc.permalink
## > toc.permalink_title
## Добавляет описание ссылки на якорь, которое отображается при наведении
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#+toc.permalink_title
## > pymdownx.superfences (SuperFences)
## Позволяет произвольно встраивать фрагменты кода и блоки контента друг в друга
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences
## https://facelessuser.github.io/pymdown-extensions/extensions/superfences/
## > pymdownx.highlight (Highlight)
## Добавляет поддержку подсветки синтаксиса во фрагментах кода с помощью SuperFences
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight
## https://facelessuser.github.io/pymdown-extensions/extensions/highlight/
## > .use_pygments: true
## Highlight использует Pygments для подсветки синтаксиса
## https://pygments.org/
## https://facelessuser.github.io/pymdown-extensions/extensions/highlight/#options
## > .pygments_lang_class: true
## Pygments добавляет класс CSS с указанием языка, используемого во фрагменте кода
## https://facelessuser.github.io/pymdown-extensions/extensions/highlight/#options
## > .guess_lang: true
## Pygments пытается определить используемый во фрагменте кода язык, если он не указан
## https://facelessuser.github.io/pymdown-extensions/extensions/highlight/#options
## > pymdownx.keys
## Добавляет синтаксис для рендеринга клавиш клавиатуры и их сочетаний
## https://facelessuser.github.io/pymdown-extensions/extensions/keys/
## > md_in_html
## Позволяет использовать Markdown внутри тегов HTML
## https://python-markdown.github.io/extensions/md_in_html/
## https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#markdown-in-html
markdown_extensions:
- attr_list
- toc:
permalink: true
permalink_title: Ссылка на абзац
- pymdownx.superfences
- pymdownx.highlight:
use_pygments: true
pygments_lang_class: true
guess_lang: true
# Валидация ссылок
# https://www.mkdocs.org/user-guide/configuration/#validation
validation:
links:
unrecognized_links: warn
# https://www.mkdocs.org/user-guide/configuration/#hooks
hooks:
- ./hooks/set_versioning.py