Skip to content
Open
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
116 changes: 110 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default defineConfig({
en: 'Guides',
'zh-CN': '指引',
es: 'Guías',
ru: 'Руководства',
},
id: 'guides',
link: '/start/',
Expand All @@ -117,6 +118,7 @@ export default defineConfig({
translations: {
'zh-CN': '快速开始',
es: 'Guía rápida',
ru: 'Быстрый старт',
},
collapsed: true,
items: [
Expand Down Expand Up @@ -153,6 +155,7 @@ export default defineConfig({
translations: {
'zh-CN': '前端配置',
es: 'Configuración del frontend',
ru: 'Настройка фронтенда',
},
collapsed: true,
items: [
Expand All @@ -166,6 +169,7 @@ export default defineConfig({
translations: {
'zh-CN': '升级和迁移',
es: 'Actualizar y migrar',
ru: 'Обновление и миграция',
},
collapsed: true,
items: [{ autogenerate: { directory: 'start/migrate' } }],
Expand All @@ -177,15 +181,32 @@ export default defineConfig({
translations: {
'zh-CN': '核心概念',
es: 'Conceptos básicos',
ru: 'Основные концепции',
},
collapsed: true,
items: [{ autogenerate: { directory: 'concept', collapsed: true } }],
items: [
'concept',
'concept/architecture',
'concept/process-model',
'concept/size',
{
label: 'Inter-Process Communication',
translations: { ru: 'Межпроцессное взаимодействие' },
collapsed: true,
items: [
{
autogenerate: { directory: 'concept/Inter-Process Communication' },
},
],
},
],
},
{
label: 'Security',
translations: {
'zh-CN': '安全',
es: 'Seguridad',
ru: 'Безопасность',
},
collapsed: true,
items: [{ autogenerate: { directory: 'security', collapsed: true } }],
Expand All @@ -195,6 +216,7 @@ export default defineConfig({
translations: {
'zh-CN': '开发',
es: 'Desarrollo',
ru: 'Разработка',
},
collapsed: true,
items: [
Expand All @@ -209,6 +231,7 @@ export default defineConfig({
'develop/icons',
{
label: 'Debug',
translations: { ru: 'Отладка' },
collapsed: true,
items: [
{
Expand All @@ -218,6 +241,7 @@ export default defineConfig({
},
{
label: 'Plugins',
translations: { ru: 'Плагины' },
collapsed: true,
items: [
{
Expand All @@ -227,10 +251,29 @@ export default defineConfig({
},
{
label: 'Tests',
translations: { ru: 'Тесты' },
collapsed: true,
items: [
'develop/tests',
'develop/tests/mocking',
{
autogenerate: { directory: 'develop/Tests', collapsed: true },
label: 'WebDriver',
translations: { ru: 'WebDriver' },
collapsed: true,
items: [
'develop/tests/webdriver',
'develop/tests/webdriver/ci',
'develop/tests/webdriver/manual-setup',
{
label: 'Example',
translations: { ru: 'Примеры' },
collapsed: true,
items: [
'develop/tests/webdriver/example/selenium',
'develop/tests/webdriver/example/webdriverio',
],
},
],
},
],
},
Expand All @@ -241,11 +284,44 @@ export default defineConfig({
translations: {
'zh-CN': '分发',
es: 'Distribuir',
ru: 'Распространение',
},
collapsed: true,
items: [
'distribute',
'distribute/appimage',
'distribute/app-store',
'distribute/aur',
'distribute/crabnebula-cloud',
'distribute/debian',
'distribute/dmg',
'distribute/flatpak',
'distribute/google-play',
'distribute/macos-application-bundle',
'distribute/microsoft-store',
'distribute/rpm',
'distribute/snapcraft',
'distribute/windows-installer',
{
label: 'Sign',
translations: { ru: 'Подпись' },
collapsed: true,
items: [
'distribute/sign/android',
'distribute/sign/ios',
'distribute/sign/linux',
'distribute/sign/macos',
'distribute/sign/windows',
],
},
{
autogenerate: { directory: 'distribute', collapsed: true },
label: 'Pipelines',
translations: { ru: 'Пайплайны' },
collapsed: true,
items: [
'distribute/pipelines/crabnebula-cloud',
'distribute/pipelines/github',
],
},
],
},
Expand All @@ -254,11 +330,27 @@ export default defineConfig({
translations: {
'zh-CN': '学习',
es: 'Aprende',
ru: 'Обучение',
},
collapsed: true,
items: [
'learn',
'learn/mobile-file-associations',
'learn/mobile-multiwindow',
'learn/sidecar-nodejs',
'learn/splashscreen',
'learn/system-tray',
'learn/window-customization',
'learn/window-menu',
{
autogenerate: { directory: 'learn', collapsed: true },
label: 'Security',
translations: { ru: 'Безопасность' },
collapsed: true,
items: [
{
autogenerate: { directory: 'learn/Security' },
},
],
},
],
},
Expand All @@ -267,6 +359,7 @@ export default defineConfig({
translations: {
'zh-CN': '插件',
es: 'Plugins',
ru: 'Плагины',
},
collapsed: true,
items: [
Expand All @@ -280,6 +373,7 @@ export default defineConfig({
translations: {
'zh-CN': '关于',
es: 'Acerca de',
ru: 'О проекте',
},
collapsed: true,
items: [
Expand All @@ -291,7 +385,12 @@ export default defineConfig({
],
},
{
label: { en: 'References', 'zh-CN': '参考', es: 'Referencias' },
label: {
en: 'References',
'zh-CN': '参考',
es: 'Referencias',
ru: 'Справочник',
},
id: 'references',
link: '/reference/cli',
icon: 'document',
Expand All @@ -301,6 +400,7 @@ export default defineConfig({
translations: {
'zh-CN': '命令行接口(CLI)',
es: 'Interfaz de línea de comandos',
ru: 'Интерфейс командной строки',
},
link: '/reference/cli/',
},
Expand All @@ -309,6 +409,7 @@ export default defineConfig({
translations: {
'zh-CN': '安全',
es: 'Seguridad',
ru: 'Безопасность',
},
collapsed: true,
items: [
Expand All @@ -322,6 +423,7 @@ export default defineConfig({
translations: {
'zh-CN': '配置',
es: 'Configuración',
ru: 'Конфигурация',
},
link: '/reference/config/',
},
Expand All @@ -330,6 +432,7 @@ export default defineConfig({
translations: {
'zh-CN': '环境变量',
es: 'Variables de entorno',
ru: 'Переменные окружения',
},
link: '/reference/environment-variables/',
},
Expand All @@ -338,6 +441,7 @@ export default defineConfig({
translations: {
'zh-CN': 'Webview 版本',
es: 'Versiones de Webview',
ru: 'Версии Webview',
},
link: '/reference/webview-versions/',
},
Expand All @@ -357,7 +461,7 @@ export default defineConfig({
],
},
{
label: 'Blog',
label: { en: 'Blog', ru: 'Блог' },
id: 'blog',
link: '/blog/',
icon: 'pen',
Expand Down
4 changes: 4 additions & 0 deletions locales.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"de": {
"label": "German",
"lang": "de"
},
"ru": {
"label": "Русский",
"lang": "ru"
}
}
4 changes: 4 additions & 0 deletions lunaria.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
{
"label": "日本語",
"lang": "ja"
},
{
"label": "Русский",
"lang": "ru"
}
],
"dashboard": {
Expand Down
2 changes: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
/zh-cn/develop/debug/tests/* /zh-cn/develop/tests/:splat 301
/ja/develop/debug/tests/* /ja/develop/tests/:splat 301
/de/develop/debug/tests/* /de/develop/tests/:splat 301
/ru/develop/debug/tests/* /ru/develop/tests/:splat 301

# mid v2 docs restructuring
/plugin/system-tray /learn/system-tray 301
Expand All @@ -60,6 +61,7 @@
/zh-cn/release/* /release/:splat 301
/ja/release/* /release/:splat 301
/de/release/* /release/:splat 301
/ru/release/* /release/:splat 301

# Legacy SinceVersion library aliases
/release/api/* /release/@tauri-apps/api/:splat 301
Expand Down
Loading
Loading