Skip to content
Merged
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
132 changes: 85 additions & 47 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,35 @@ import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'Flutter Server Box',
title: 'Server Box',
description: 'A comprehensive cross-platform server management application built with Flutter',
defaultLocale: 'root',
locales: {
root: {
label: 'English',
lang: 'en',
},
zh: {
label: '简体中文',
lang: 'zh',
},
de: {
label: 'Deutsch',
lang: 'de',
},
fr: {
label: 'Français',
lang: 'fr',
},
es: {
label: 'Español',
lang: 'es',
},
ja: {
label: '日本語',
lang: 'ja',
},
},
logo: {
src: './src/assets/logo.svg',
},
Expand All @@ -17,73 +44,84 @@ export default defineConfig({
sidebar: [
{
label: 'Getting Started',
translations: {
zh: '开始使用',
de: 'Erste Schritte',
fr: 'Mise en route',
es: 'Primeros pasos',
ja: 'はじめに',
},
items: [
{ label: 'Introduction', slug: 'introduction' },
{ label: 'Installation', slug: 'installation' },
{ label: 'Quick Start', slug: 'quick-start' },
],
},
{
label: 'Features',
items: [
{ label: 'Server Monitoring', slug: 'features/monitoring' },
{ label: 'Docker Management', slug: 'features/docker' },
{ label: 'Process & Services', slug: 'features/process' },
{ label: 'Command Snippets', slug: 'features/snippets' },
{ label: 'Network Tools', slug: 'features/network' },
{ label: 'PVE (Proxmox)', slug: 'features/pve' },
],
},
{
label: 'Configuration',
items: [
{ label: 'Server Setup', slug: 'configuration/server' },
{ label: 'Terminal & SSH', slug: 'configuration/terminal' },
{ label: 'SFTP File Browser', slug: 'configuration/sftp' },
{ label: 'Jump Server', slug: 'configuration/jump-server' },
{ label: 'Backup & Restore', slug: 'configuration/backup' },
{ label: 'Appearance', slug: 'configuration/appearance' },
{ label: 'Localizations', slug: 'configuration/localizations' },
{ label: 'Introduction', translations: { zh: '介绍', de: 'Einführung', fr: 'Introduction', es: 'Introducción', ja: 'はじめに' }, slug: 'introduction' },
{ label: 'Installation', translations: { zh: '安装', de: 'Installation', fr: 'Installation', es: 'Instalación', ja: 'インストール' }, slug: 'installation' },
{ label: 'Quick Start', translations: { zh: '快速开始', de: 'Schnellstart', fr: 'Démarrage rapide', es: 'Inicio rápido', ja: 'クイックスタート' }, slug: 'quick-start' },
],
},
Comment on lines 37 to 48
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This change removes the 'Configuration' section from the sidebar, and the corresponding documentation files have also been deleted. While some topics like 'Terminal & SSH' and 'SFTP' have been moved to the 'How It Works' section, documentation for the following important configuration features appears to be missing entirely from the new structure:

  • Server Setup
  • Jump Server
  • Backup & Restore
  • Appearance
  • Localizations

If this content has been moved to other pages, please ensure they are still easily discoverable. If the removal was intentional, it might be worth considering if this information is still valuable to users. If it was an oversight, please restore the documentation for these features.

{
label: 'Platform Features',
translations: {
zh: '平台特性',
de: 'Plattformfunktionen',
fr: 'Fonctionnalités de la plateforme',
es: 'Características de la plataforma',
ja: 'プラットフォーム機能',
},
items: [
{ label: 'Mobile', slug: 'platforms/mobile' },
{ label: 'Desktop', slug: 'platforms/desktop' },
{ label: 'watchOS', slug: 'platforms/watchos' },
{ label: 'Mobile', translations: { zh: '移动端', de: 'Mobil', fr: 'Mobile', es: 'Móvil', ja: 'モバイル' }, slug: 'platforms/mobile' },
{ label: 'Desktop', translations: { zh: '桌面端', de: 'Desktop', fr: 'Bureau', es: 'Escritorio', ja: 'デスクトップ' }, slug: 'platforms/desktop' },
],
},
{
label: 'Advanced',
translations: {
zh: '进阶',
de: 'Fortgeschritten',
fr: 'Avancé',
es: 'Avanzado',
ja: '高度な設定',
},
items: [
{ label: 'Bulk Import Servers', slug: 'advanced/bulk-import' },
{ label: 'Widget Setup', slug: 'advanced/widgets' },
{ label: 'Custom Commands', slug: 'advanced/custom-commands' },
{ label: 'Custom Logo', slug: 'advanced/custom-logo' },
{ label: 'JSON Settings', slug: 'advanced/json-settings' },
{ label: 'Common Issues', slug: 'advanced/troubleshooting' },
{ label: 'Bulk Import Servers', translations: { zh: '批量导入服务器', de: 'Server-Massenimport', fr: 'Importation massive de serveurs', es: 'Importación masiva de servidores', ja: 'サーバーの一括インポート' }, slug: 'advanced/bulk-import' },
{ label: 'Widget Setup', translations: { zh: '小组件设置', de: 'Widget-Einrichtung', fr: 'Configuration du widget', es: 'Configuración de widgets', ja: 'ウィジェット設定' }, slug: 'advanced/widgets' },
{ label: 'Custom Commands', translations: { zh: '自定义命令', de: 'Benutzerdefinierte Befehle', fr: 'Commandes personnalisées', es: 'Comandos personalizados', ja: 'カスタムコマンド' }, slug: 'advanced/custom-commands' },
{ label: 'Custom Logo', translations: { zh: '自定义 Logo', de: 'Benutzerdefiniertes Logo', fr: 'Logo personnalisé', es: 'Logo personalizado', ja: 'カスタムロゴ' }, slug: 'advanced/custom-logo' },
{ label: 'JSON Settings', translations: { zh: 'JSON 设置', de: 'JSON-Einstellungen', fr: 'Paramètres JSON', es: 'Ajustes JSON', ja: 'JSON 設定' }, slug: 'advanced/json-settings' },
{ label: 'Common Issues', translations: { zh: '常见问题', de: 'Häufige Probleme', fr: 'Problèmes courants', es: 'Problemas comunes', ja: 'よくある質問' }, slug: 'advanced/troubleshooting' },
],
},
{
label: 'How It Works',
translations: {
zh: '工作原理',
de: 'Wie es funktioniert',
fr: 'Comment ça marche',
es: 'Cómo funciona',
ja: '仕組み',
},
items: [
{ label: 'Architecture', slug: 'principles/architecture' },
{ label: 'SSH Connection', slug: 'principles/ssh' },
{ label: 'Terminal', slug: 'principles/terminal' },
{ label: 'SFTP', slug: 'principles/sftp' },
{ label: 'State Management', slug: 'principles/state' },
{ label: 'Architecture', translations: { zh: '架构', de: 'Architektur', fr: 'Architecture', es: 'Arquitectura', ja: 'アーキテクチャ' }, slug: 'principles/architecture' },
{ label: 'SSH Connection', translations: { zh: 'SSH 连接', de: 'SSH-Verbindung', fr: 'Connexion SSH', es: 'Conexión SSH', ja: 'SSH 接続' }, slug: 'principles/ssh' },
{ label: 'Terminal', translations: { zh: '终端', de: 'Terminal', fr: 'Terminal', es: 'Terminal', ja: 'ターミナル' }, slug: 'principles/terminal' },
{ label: 'SFTP', translations: { zh: 'SFTP', de: 'SFTP', fr: 'SFTP', es: 'SFTP', ja: 'SFTP' }, slug: 'principles/sftp' },
{ label: 'State Management', translations: { zh: '状态管理', de: 'Zustandsverwaltung', fr: 'Gestion d\'état', es: 'Gestión de estado', ja: '状態管理' }, slug: 'principles/state' },
],
},
{
label: 'Development',
translations: {
zh: '开发',
de: 'Entwicklung',
fr: 'Développement',
es: 'Desarrollo',
ja: '開発',
},
items: [
{ label: 'Project Structure', slug: 'development/structure' },
{ label: 'Architecture', slug: 'development/architecture' },
{ label: 'State Management', slug: 'development/state' },
{ label: 'Code Generation', slug: 'development/codegen' },
{ label: 'Building', slug: 'development/building' },
{ label: 'Testing', slug: 'development/testing' },
{ label: 'Project Structure', translations: { zh: '项目结构', de: 'Projektstruktur', fr: 'Structure du projet', es: 'Estructura del proyecto', ja: 'プロジェクト構造' }, slug: 'development/structure' },
{ label: 'Architecture', translations: { zh: '架构', de: 'Architektur', fr: 'Architecture', es: 'Arquitectura', ja: 'アーキテクチャ' }, slug: 'development/architecture' },
{ label: 'State Management', translations: { zh: '状态管理', de: 'Zustandsverwaltung', fr: 'Gestion d\'état', es: 'Gestión de estado', ja: '状態管理' }, slug: 'development/state' },
{ label: 'Code Generation', translations: { zh: '代码生成', de: 'Code-Generierung', fr: 'Génération de code', es: 'Generación de código', ja: 'コード生成' }, slug: 'development/codegen' },
{ label: 'Building', translations: { zh: '构建', de: 'Bauen', fr: 'Construction', es: 'Construcción', ja: 'ビルド' }, slug: 'development/building' },
{ label: 'Testing', translations: { zh: '测试', de: 'Testen', fr: 'Tests', es: 'Pruebas', ja: 'テスト' }, slug: 'development/testing' },
],
},
],
Expand Down
14 changes: 2 additions & 12 deletions docs/src/content/docs/advanced/json-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ Long-press **Settings** in drawer to open JSON editor.

## Common Hidden Settings

### serverTabUseOldUI

Use old server tab UI.

```json
{"serverTabUseOldUI": true}
```

**Type:** boolean | **Default:** false

### timeout
### timeOut

Connection timeout in seconds.

```json
{"timeout": 10}
{"timeOut": 10}
```

**Type:** integer | **Default:** 5 | **Range:** 1-60
Expand Down
124 changes: 0 additions & 124 deletions docs/src/content/docs/configuration/appearance.md

This file was deleted.

80 changes: 0 additions & 80 deletions docs/src/content/docs/configuration/backup.md

This file was deleted.

Loading