import { defineConfig } from 'vitepress' import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs' import { overrideComponents } from './override-components' import { fileURLToPath, URL } from 'node:url' const gitlab = ` ` const new_version = process.env?.VITE_NEW_VERSION; console.log({ base: typeof new_version !== 'undefined' ? '/' : '/docs/' }) // https://vitepress.dev/reference/site-config export default defineConfig({ srcDir: ".", title: 'Beeline Cloud', description: "Документация Beeline Cloud", head: [['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/bee-favicon.png' }]], base: typeof new_version !== 'undefined' ? '/' : '/docs/', appearance: false, markdown: { config(md) { md.use(tabsMarkdownPlugin) } }, vite: { resolve: { alias: [ ...overrideComponents(), { find: '@', replacement: fileURLToPath(new URL('./theme', import.meta.url)) }, ], } }, locales: { root: { label: 'Русский', lang: 'ru', } }, themeConfig: { siteTitle: false, notFound: { title: 'Страница не найдена', quote: 'Похоже, вы зашли в тупик. Но не волнуйтесь — всегда можно вернуться на главную.', linkLabel: 'вернуться на главную', linkText: 'Вернуться на главную', code: '404', }, logo: { light: '/img/logo-cloud.svg', dark: '/img/logo-cloud.svg', alt: '', }, search: { provider: 'local', options: { locales: { root: { translations: { button: { buttonText: 'Поиск', buttonAriaLabel: 'Поиск' }, modal: { noResultsText: 'Не удалось загрузить данные', resetButtonTitle: 'Сбросить', displayDetails: 'Показать расширенный список', footer: { selectText: 'Выбрать', closeText: 'Закрыть', navigateText: 'Перейти', } } } } } } }, // https://vitepress.dev/reference/default-theme-config // nav: [ // { // text: 'Документация', // link: '/guide/', // }, // { // text: 'API', // link: '', // }, // { // text: 'Terraform', // // link: '/terraform/', // link: '', // }, // ], docFooter: { next: 'Вперед', prev: 'Назад' }, outline: { label: 'Содержание' }, returnToTopLabel: 'Вернуться к началу', sidebarMenuLabel: 'Меню', skipToContentLabel: 'Перейти к содержимому', sidebar: { '/platform/': [ {text: 'Обзор', link: '/platform/about.md'}, {text: 'Типы тарификации', link: '/platform/billing-types.md'}, {text: 'Техническая поддержка', link: '/platform/support-overview.md'}, ], '/legal/': [ { text: 'Юридические документы', link: '/legal/index.md' }, ], '/security/': [ { text: 'Сервисы информационной безопасности в Beeline Cloud', link: '/security/index.md' }, ], '/security/Cloud-SA/': [ { text: 'Cloud Security Awareness (SA)', link: '/security/Cloud-SA/about.md' }, { text: 'Состав сервиса', link: '/security/Cloud-SA/compound.md' }, { text: 'Настройки сервиса по умолчанию', link: '/security/Cloud-SA/default-service.md' }, { text: 'Почтовый ретранслятор (SMTP relay)', link: '/security/Cloud-SA/mail-relay.md' }, { text: 'Мониторинг работоспособности платформы', link: '/security/Cloud-SA/monitoring.md' }, { text: 'Модули платформы', link: '/security/Cloud-SA/platform-modules.md' }, { text: 'Ограничения платформы', link: '/security/Cloud-SA/restrictions.md' }, { text: 'Отказоустойчивость', link: '/security/Cloud-SA/fault-tolerance.md' }, { text: 'Шаблоны почтовых сообщений и веб-форм', link: '/security/Cloud-SA/templates.md' }, { text: 'Дополнительные работы', link: '/security/Cloud-SA/additional-work.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-SA/responsibility.md' }, { text: 'Качественные характеристики сервиса', link: '/security/Cloud-SA/characteristics.md' }, { text: 'Инструкции для начала работы с сервисом', link: '/security/Cloud-SA/instructions.md' }, { text: 'Порядок платежей', link: '/security/Cloud-SA/payments.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-SA/provision.md' }, ], '/security/Cloud-VS/': [ { text: 'Cloud Vulnerability Scanner (VS)', link: '/security/Cloud-VS/about.md' }, { text: 'Варианты предоставления сервиса', link: '/security/Cloud-VS/provision-service.md' }, { text: 'Мониторинг работоспособности', link: '/security/Cloud-VS/monitoring.md' }, { text: 'Отказоустойчивость', link: '/security/Cloud-VS/fault-tolerance.md' }, { text: 'Состав работ', link: '/security/Cloud-VS/scope-work.md' }, { text: 'Дополнительные работы', link: '/security/Cloud-VS/additional-work.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-VS/responsibility.md' }, { text: 'Качественные характеристики сервиса', link: '/security/Cloud-VS/characteristics.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-VS/provision.md' }, { text: 'Порядок платежей', link: '/security/Cloud-VS/payments.md' }, ], '/security/Cloud-MDM/': [ { text: 'Cloud Mobile Device Management (MDM)', link: '/security/Cloud-MDM/about.md' }, { text: 'Состав сервиса', link: '/security/Cloud-MDM/compound.md' }, { text: 'Архитектура сервиса', link: '/security/Cloud-MDM/architecture.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-MDM/responsibility.md' }, { text: 'Мониторинг работоспособности', link: '/security/Cloud-MDM/monitoring.md' }, { text: 'Отказоустойчивость', link: '/security/Cloud-MDM/fault-tolerance.md' }, { text: 'Дополнительные работы', link: '/security/Cloud-MDM/additional-work.md' }, { text: 'Качественные характеристики сервиса', link: '/security/Cloud-MDM/characteristics.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-MDM/provision.md' }, { text: 'Порядок платежей', link: '/security/Cloud-MDM/payments.md' }, { text: 'Инструкции', link: '/security/Cloud-MDM/instructions.md' }, { text: 'Активация учетной записи', link: '/security/Cloud-MDM/activation.md' }, { text: 'Режим Device Owner', link: '/security/Cloud-MDM/device-owner.md' }, ], '/security/Cloud-MFA/': [ { text: 'Cloud Multifactor Authentication (MFA)', link: '/security/Cloud-MFA/about.md' }, { text: 'Состав сервиса', link: '/security/Cloud-MFA/compound.md' }, { text: 'Компоненты сервиса', link: '/security/Cloud-MFA/components.md' }, { text: 'Схема взаимодействия компонентов сервиса', link: '/security/Cloud-MFA/interaction-scheme.md' }, { text: 'Состав работ', link: '/security/Cloud-MFA/scope-work.md' }, { text: 'Дополнительные работы', link: '/security/Cloud-MFA/additional-work.md' }, { text: 'Настройки по умолчанию (Managed Service)', link: '/security/Cloud-MFA/default-settings.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-MFA/responsibility.md' }, { text: 'Мониторинг работоспособности', link: '/security/Cloud-MFA/monitoring.md' }, { text: 'Отказоустойчивость', link: '/security/Cloud-MFA/fault-tolerance.md' }, { text: 'Качественные характеристики сервиса', link: '/security/Cloud-MFA/characteristics.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-MFA/provision.md' }, { text: 'Порядок платежей', link: '/security/Cloud-MFA/payments.md' }, ], '/security/Cloud-NGFW/': [ { text: 'Cloud NGFW', link: '/security/Cloud-NGFW/about.md' }, { text: 'Основные возможности', link: '/security/Cloud-NGFW/possibilities.md' }, { text: 'Спецификация сервиса', link: '/security/Cloud-NGFW/specification.md' }, { text: 'Состав сервиса', link: '/security/Cloud-NGFW/compound.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-NGFW/provision.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-NGFW/responsibility.md' }, { text: 'Порядок платежей', link: '/security/Cloud-NGFW/payments.md' }, ], '/security/Cloud-NGFW-F/': [ { text: 'Cloud NGFW F', link: '/security/Cloud-NGFW-F/about.md' }, { text: 'Порядок подключения сервиса', link: '/security/Cloud-NGFW-F/connection.md' }, { text: 'Варианты предоставления', link: '/security/Cloud-NGFW-F/delivery-options.md' }, { text: 'Состав сервиса', link: '/security/Cloud-NGFW-F/compound.md' }, { text: 'Функциональные возможности', link: '/security/Cloud-NGFW-F/functional-capabilities.md' }, { text: 'Порядок платежей', link: '/security/Cloud-NGFW-F/payments.md' }, { text: 'Тестирование сервиса', link: '/security/Cloud-NGFW-F/testing.md' }, ], '/security/Cloud-NGFW-Pro/': [ { text: 'Cloud NGFW Pro', link: '/security/Cloud-NGFW-Pro/about.md' }, { text: 'Основные возможности', link: '/security/Cloud-NGFW-Pro/possibilities.md' }, { text: 'Спецификация сервиса', link: '/security/Cloud-NGFW-Pro/specification.md' }, { text: 'Состав сервиса', link: '/security/Cloud-NGFW-Pro/compound.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-NGFW-Pro/provision.md' }, { text: 'Зоны ответственности', link: '/security/Cloud-NGFW-Pro/responsibility.md' }, { text: 'Демодоступ к сервису', link: '/security/Cloud-NGFW-Pro/demo-access.md' }, { text: 'Порядок платежей', link: '/security/Cloud-NGFW-Pro/payments.md' }, ], '/security/ddos/': [ { text: 'Cloud DDoS Protection', link: '/security/ddos/ddos-index.md' }, { text: 'Состав сервиса', link: '/security/ddos/compound.md' }, { text: 'Функциональные возможности', link: '/security/ddos/functional-capabilities.md' }, { text: 'Сценарии предоставления сервиса', link: '/security/ddos/scenarios.md' }, { text: 'Личный кабинет', link: '/security/ddos/personal-account.md' }, { text: 'Сервис как опция к услуге', link: '/security/ddos/service-scope.md' }, { text: 'Мониторинг работоспособности', link: '/security/ddos/monitoring.md' }, { text: 'Администрирование сервиса', link: '/security/ddos/administration.md' }, { text: 'Дополнительные работы', link: '/security/ddos/additional-work.md' }, { text: 'Качественные характеристики сервиса', link: '/security/ddos/characteristics.md' }, { text: 'Сроки и условия предоставления сервиса. Зоны ответственности', link: '/security/ddos/provision.md' }, { text: 'Порядок платежей', link: '/security/ddos/payments.md' }, ], '/security/Cloud-EPP/': [ { text: 'Cloud Endpoint Protection Platform (EPP)', link: '/security/Cloud-EPP/EPP-index.md' }, { text: 'Состав сервиса', link: '/security/Cloud-EPP/description/compound.md' }, { text: 'Состав работ', link: '/security/Cloud-EPP/description/work/work-index.md', collapsed: true, items: [ { text: 'Настройка параметров модулей защиты', link: '/security/Cloud-EPP/description/work/modules-setup.md' }, { text: 'Дополнительные услуги', link: '/security/Cloud-EPP/description/work/additional-services.md' }, ] }, { text: 'Зоны ответственности', link: '/security/Cloud-EPP/description/areas-responsibility.md' }, { text: 'Мониторинг работоспособности', link: '/security/Cloud-EPP/description/monitoring.md' }, { text: 'Качественные характеристики сервиса', link: '/security/Cloud-EPP/characteristics.md' }, { text: 'Сроки и условия предоставления сервиса', link: '/security/Cloud-EPP/provision.md' }, { text: 'Тарификация и порядок платежей', link: '/security/Cloud-EPP/payments.md' }, { text: 'Инструкции', link: '/security/Cloud-EPP/instructions/instructions-index.md', collapsed: true, items: [ { text: 'Вход в систему', link: '/security/Cloud-EPP/instructions/login.md' }, { text: 'Работа с отчетами, статистикой и уведомлениями', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/monitoring-panel-index.md', collapsed: true, items: [ { text: 'Работа с отчетами', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/reports-index.md', collapsed: true, items: [ { text: 'Создание шаблона отчета', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/report-template-create.md' }, { text: 'Просмотр и изменение свойств шаблона отчета', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/report-template-properties.md' }, { text: 'Создание и просмотр отчета', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/report-create-view.md' }, { text: 'Сохранение отчета', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/report-save.md' }, { text: 'Создание задачи рассылки отчета', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/reports/report-mailing.md' }, ] }, { text: 'Работа со статистической информацией', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/statistics.md' }, { text: 'Настройка параметров уведомлений о событиях', link: '/security/Cloud-EPP/instructions/multitenant/monitoring-panel/notifications.md' }, ] }, { text: 'Выборки событий', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/event-reports-index.md', collapsed: true, items: [ { text: 'Просмотр выборки событий', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/events-view.md' }, { text: 'Настройка параметров выборки событий', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/events-params.md' }, { text: 'Создание выборки событий', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/events-create.md' }, { text: 'Экспорт выборки событий в текстовый файл', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/events-export.md' }, { text: 'Удаление событий из выборки', link: '/security/Cloud-EPP/instructions/multitenant/event-reports/events-delete.md' }, ] }, { text: 'Выборки устройств', link: '/security/Cloud-EPP/instructions/multitenant/device-selections/device-selections-index.md', collapsed: true, items: [ { text: 'Просмотр выборки устройств', link: '/security/Cloud-EPP/instructions/multitenant/device-selections/devices-view.md' }, { text: 'Настройка выборки устройств', link: '/security/Cloud-EPP/instructions/multitenant/device-selections/devices-params.md' }, { text: 'Экспорт параметров выборки устройств в файл', link: '/security/Cloud-EPP/instructions/multitenant/device-selections/devices-export.md' }, { text: 'Создание выборки устройств', link: '/security/Cloud-EPP/instructions/multitenant/device-selections/devices-create.md' }, ] }, ] }, ], // '/billing/': [ // ], // '/backups/': [ // { // text: 'Резервное копирование', link: '/backups/index.md', // }, // { // text: 'Обзор сервиса', link: '/backups/backups-overview.md', // collapsed: true, // items: [ // {text: 'О сервисе', link: '/backups/about.md'}, // {text: 'Квоты и лимиты', link: '/backups/backup-quatos.md'}, // ] // }, // ], '/PostgreSQL/': [ {text: 'PostgreSQL', link: '/PostgreSQL/PostgreSQL-index.md'}, {text: 'Обзор сервиса', link: '/PostgreSQL/about.md'}, {text: 'Описание технических параметров', link: '/PostgreSQL/cluster-parameter.md'}, {text: 'Общая схема подключения', link: '/PostgreSQL/connection.md'}, {text: 'Параметры IPsec-соединения', link: '/PostgreSQL/IPSEC.md'}, {text: 'Возможности пользователя', link: '/PostgreSQL/user-capabilities.md'}, {text: 'Веб-интерфейс pgAdmin', link: '/PostgreSQL/pgadmin.md'}, {text: 'Веб-интерфейс Grafana', link: '/PostgreSQL/grafana.md'}, {text: '1C для PostgreSQL', link: '/PostgreSQL/PostgreSQL-1C.md' }, ], '/network/': [ {text: 'Cloud Interconnect', link: '/network/interconnect.md' }, ], '/Deckhouse/': [ {text: 'Cloud Deckhouse Kubernetes', link: '/Deckhouse/index.md'}, {text: 'Обзор сервиса', link: '/Deckhouse/about.md'}, {text: 'Права и возможности пользователей', link: '/Deckhouse/user-permissions.md'}, {text: 'Описание технических параметров', link: '/Deckhouse/technical-parameters.md'}, {text: 'Подключение к сервису', link: '/Deckhouse/connection.md'} ], '/Apache-Kafka/': [ {text: 'Apache Kafka', link: '/Apache-Kafka/Kafka-index.md'}, {text: 'Обзор сервиса', link: '/Apache-Kafka/about-service.md'}, {text: 'Работа с кластером Kafka по тарифу Base', link: '/Apache-Kafka/base-tier-connection.md'}, {text: 'Настройка топика по тарифу Base', link: '/Apache-Kafka/base-tier-topics-guide.md'}, {text: 'Конфигурация кластера', link: '/Apache-Kafka/cluster-configuretion.md'}, {text: 'Работа с кластером Kafka по тарифу Full', link: '/Apache-Kafka/full-tier-connection.md'}, ], '/finance/': [ { text: 'Финансы', link: '/finance/about.md' }, { text: 'Счета', wip: true }, { text: 'Анализ затрат', link: '/finance/cost-analysis.md' }, { text: 'Бюджеты', wip: true }, { text: 'Прогнозирование', wip: true }, { text: 'Рекомендации', wip: true }, { text: 'Управление тегами', wip: true }, ], '/vdc/': [ {text: 'Виртуальные дата-центры на VMware', link: '/vdc/index.md'}, { text: 'О сервисе', link: '/vdc/vdc-about.md' }, { text: 'Подключиться к виртуальному дата-центру', link: '/vdc/vdc-getting-started.md' }, { text: 'Виртуальные машины', link: '/vdc/vdc-how-to/vm/vm-index.md', collapsed: true, items: [ {text: 'Создание ВМ', link: '/vdc/vdc-how-to/vm/create-vm.md'}, {text: 'Создание vApp', link: '/vdc/vdc-how-to/vm/create-vapp.md'}, {text: 'Управление состоянием ВМ', link: '/vdc/vdc-how-to/vm/manage-vm.md'}, {text: 'Клонирование ВМ', link: '/vdc/vdc-how-to/vm/clone-vm.md'}, {text: 'Изменение конфигурации ВМ', link: '/vdc/vdc-how-to/vm/edit-vm.md'}, {text: 'Удаление ВМ', link: '/vdc/vdc-how-to/vm/delete-vm.md'}, {text: 'Группы размещения', link: '/vdc/vdc-how-to/vm/create-affinity-rules.md'}, {text: 'Снимки ВМ', link: '/vdc/vdc-how-to/vm/create-snapshot.md'}, {text: 'VMware Tools', link: '/vdc/vdc-how-to/vm/vmware-tools.md'}, ], }, { text: 'Диски', link: '/vdc/vdc-how-to/disks/disks-index.md', collapsed: true, items: [ {text: 'Обзор', link: '/vdc/vdc-how-to/disks/about.md'}, {text: 'Создание диска', link: '/vdc/vdc-how-to/disks/create-disk.md'}, {text: 'Проверка состояния диска', link: '/vdc/vdc-how-to/disks/view-disk.md'}, {text: 'Подключение выделенного диска к ВМ', link: '/vdc/vdc-how-to/disks/attach-disk.md'}, {text: 'Изменение политики хранения дисков ВМ', link: '/vdc/vdc-how-to/disks/change-storage-policy-of-vm.md'}, {text: 'Редактирование параметров диска', link: '/vdc/vdc-how-to/disks/edit-disk.md'}, {text: 'Удаление диска', link: '/vdc/vdc-how-to/disks/delete-disk.md'}, ], }, { text: 'Сети', link: '/vdc/vdc-how-to/networks/networks-index.md', collapsed: true, items: [ {text: 'Обзор', link: '/vdc/vdc-how-to/networks/about.md'}, {text: 'Настройка доступа к ВМ из интернета', link: '/vdc/vdc-how-to/networks/allow-external-connections-to-vm.md'}, {text: 'Подключение ВМ в vApp к сети', link: '/vdc/vdc-how-to/networks/connect-vapp-to-network.md'}, {text: 'Подключение ВМ к интернету', link: '/vdc/vdc-how-to/networks/connect-vm-to-network.md'}, {text: 'Создание сети в организации и подключение к Edge Gateway', link: '/vdc/vdc-how-to/networks/create-network.md'}, {text: 'Подключение сети к Edge Gateway', link: '/vdc/vdc-how-to/networks/connect-to-edge-gateway.md'}, {text: 'Создание Pre-Shared Key', link: '/vdc/vdc-how-to/networks/create-psk.md'}, {text: 'Настройка site-to-site подключения с помощью IPSec', link: '/vdc/vdc-how-to/networks/how-to-setup-ipsec-vpn.md', collapsed: true, items: [ {text: 'Настройка IPSec VPN', link: '/vdc/vdc-how-to/networks/ipsec/setup-ipsec-vpn.md'}, {text: 'Настройка ASAv для IPsec VPN', link: '/vdc/vdc-how-to/networks/ipsec/asav.md'}, {text: 'Настройка CSR 1000v для IPsec VPN', link: '/vdc/vdc-how-to/networks/ipsec/csr1000v.md'}, {text: 'Настройка Fortigate для IPsec VPN', link: '/vdc/vdc-how-to/networks/ipsec/fortigate.md'}, {text: 'Проверить сетевую связанность', link: '/vdc/vdc-how-to/networks/ipsec/check-vpn-status.md'}, ], }, ], }, { text: 'Пользователи и роли', link: '/vdc/vdc-how-to/users/users-index.md', collapsed: true, items: [ {text: 'Ролевая модель', link: '/vdc/vdc-how-to/users/roles.md'}, {text: 'Создание пользователя', link: '/vdc/vdc-how-to/users/add-user.md'}, {text: 'Изменение пароля пользователя', link: '/vdc/vdc-how-to/users/change-users-password.md'}, {text: 'Настройка квот', link: '/vdc/vdc-how-to/users/quotas.md'}, ], }, { text: 'Двухфакторная аутентификация', link: '/vdc/vdc-how-to/vdc-2fa.md', collapsed: true, items: [ {text: 'Подключение 2FA', link: '/vdc/vdc-how-to/vdc-2fa-start.md'}, {text: 'Управление 2FA', link: '/vdc/vdc-how-to/vdc-2fa-manage.md'}, ], }, ], // { text: 'Тарификация', link: '/vdc/vdc-tarif.md' }, }, }, } )