Skip to content

docs: restructure all READMEs from ~1500 to ~250 lines with i18n sub-documents#1729

Merged
lxowalle merged 1 commit intosipeed:mainfrom
BeaconCat:docs/readme-restructure-and-i18n
Mar 18, 2026
Merged

docs: restructure all READMEs from ~1500 to ~250 lines with i18n sub-documents#1729
lxowalle merged 1 commit intosipeed:mainfrom
BeaconCat:docs/readme-restructure-and-i18n

Conversation

@BeaconCat
Copy link
Contributor

Summary

  • Restructure all 6 README files (en, zh, ja, fr, pt-br, vi) from ~1200-1580 lines to ~250 lines each
  • Extract long sections into 7 dedicated sub-documents per language under docs/{lang}/
  • 42 new documentation files, 6 modified READMEs

What changed

README restructure

  • Chat Apps (418 lines), Providers (405 lines), Configuration (197 lines), Docker (163 lines), Spawn Tasks (58 lines), Troubleshooting (110 lines), Tools Config extracted into docs/ sub-documents
  • Each README now contains: intro, news, features, demo, install, doc index table, CLI reference, contribute

Content updates & fixes

  • News: added v0.2.3 (25K stars), v0.2.1, v0.2.0, 20K milestone entries
  • Features: added MCP Support, Vision Pipeline, Smart Routing (v0.2.1 features)
  • CLI: expanded from 7 to 14 commands (added version, auth, migrate, skills, cron disable/remove)
  • Go badge: 1.21+ → 1.25+ (matches go.mod)
  • Arch badge: added LoongArch
  • Install: hardcoded v0.1.1 URL → releases/latest/download/ dynamic URL
  • Termux: added GitHub repo and Releases download links
  • Currency: fixed 599$$599 across all languages

Cross-verified against source code

  • Added 6 missing channels: Feishu, Slack, IRC, OneBot, MaixCam, Pico
  • Added 6 missing providers: Kimi/Moonshot, Minimax, Avian, Mistral, Longcat, ModelScope
  • Added missing security docs: allow_read_paths, allow_write_paths, allow_remote, deny_patterns, symlink protection
  • Removed incorrect azure from Providers table (Azure uses model_list prefix only, no dedicated provider config)
  • Confirmed enable_deny_patterns default is true via defaults.go

i18n documentation structure

docs/
├── chat-apps.md, configuration.md, docker.md, providers.md, spawn-tasks.md (English)
├── troubleshooting.md, tools_configuration.md (English, existing)
├── zh/  (简体中文, 7 files)
├── ja/  (日本語, 7 files)
├── fr/  (Français, 7 files)
├── pt-br/ (Português, 7 files)
└── vi/  (Tiếng Việt, 7 files)

Note

  • System tray UI described as "Windows & Linux" (macOS/FreeBSD pending CGO in CI)
  • Gateway hot-reload marked as "experimental" (known bug, disabled by default)

Restructure all 6 README files (en, zh, ja, fr, pt-br, vi) from
~1200-1580 lines down to ~250 lines each. Long sections (Chat Apps,
Providers, Configuration, Docker, Spawn Tasks, Troubleshooting, Tools)
are extracted into dedicated docs under docs/{lang}/ subdirectories.

Changes:
- Split README content into 7 sub-documents per language (42 new files)
- Update News section with v0.2.3/v0.2.1/v0.2.0/20K milestones
- Add 3 new Features (MCP Support, Vision Pipeline, Smart Routing)
- Complete CLI reference (14 commands, was 7)
- Fix Go badge 1.21+ -> 1.25+ (matches go.mod)
- Add LoongArch to architecture badge
- Fix Install section: hardcoded v0.1.1 -> latest/download URL
- Add Termux GitHub links
- Fix currency symbol placement ($599 not 599$)
- Add missing channels (Feishu, Slack, IRC, OneBot, MaixCam, Pico)
- Add missing providers (Kimi, Minimax, Avian, Mistral, Longcat, ModelScope)
- Add missing security docs (allow_read/write_paths, allow_remote, symlink)
- Remove incorrect azure from Providers table (azure uses model_list only)
- Cross-verified all claims against source code
Copilot AI review requested due to automatic review settings March 18, 2026 06:39
@CLAassistant
Copy link

CLAassistant commented Mar 18, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds and localizes PicoClaw documentation (multiple languages) covering provider/model configuration, tools configuration, Docker quick start, troubleshooting, and spawn/async task usage to help users set up and operate the system correctly.

Changes:

  • Add new localized docs for providers/model configuration and troubleshooting guidance.
  • Add new localized docs for tools configuration (web, exec, cron, MCP, skills).
  • Add/expand Docker quick start docs and spawn/async task docs.

Reviewed changes

Copilot reviewed 46 out of 46 changed files in this pull request and generated 23 comments.

Show a summary per file
File Description
docs/providers.md Provider/model_list overview and configuration examples (EN).
docs/zh/providers.md Provider/model_list overview and configuration examples (ZH).
docs/pt-br/providers.md Provider/model_list overview and configuration examples (PT-BR).
docs/zh/troubleshooting.md Troubleshooting guide (ZH), including OpenRouter model ID guidance.
docs/vi/troubleshooting.md Troubleshooting guide (VI).
docs/pt-br/troubleshooting.md Troubleshooting guide (PT-BR).
docs/fr/troubleshooting.md Troubleshooting guide (FR).
docs/ja/troubleshooting.md Troubleshooting guide (JA).
docs/zh/tools_configuration.md Tools configuration reference (ZH).
docs/vi/tools_configuration.md Tools configuration reference (VI).
docs/pt-br/tools_configuration.md Tools configuration reference (PT-BR).
docs/ja/tools_configuration.md Tools configuration reference (JA).
docs/fr/tools_configuration.md Tools configuration reference (FR).
docs/spawn-tasks.md Spawn/async tasks documentation (EN).
docs/zh/spawn-tasks.md Spawn/async tasks documentation (ZH).
docs/vi/spawn-tasks.md Spawn/async tasks documentation (VI).
docs/pt-br/spawn-tasks.md Spawn/async tasks documentation (PT-BR).
docs/fr/spawn-tasks.md Spawn/async tasks documentation (FR).
docs/configuration.md Configuration guide updates (EN), including spawn section.
docs/vi/configuration.md Configuration guide updates (VI), including spawn section.
docs/pt-br/configuration.md Configuration guide updates (PT-BR), including spawn section.
docs/fr/configuration.md Configuration guide updates (FR), including spawn section.
docs/docker.md Docker/Quick Start guide updates (EN).
docs/zh/docker.md Docker/Quick Start guide updates (ZH).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +9 to +13
## Long Tasks (use spawn for async)

- Search the web for AI news and summarize
- Check email and report important messages
```
Comment on lines +9 to +13
## Tác Vụ Dài (sử dụng spawn cho bất đồng bộ)

- Tìm kiếm web tin tức AI và tóm tắt
- Kiểm tra email và báo cáo tin nhắn quan trọng
```

- Pesquisar na web notícias sobre IA e resumir
- Verificar e-mail e relatar mensagens importantes
```

- Rechercher sur le web des actualités IA et résumer
- Vérifier les emails et rapporter les messages importants
```
Comment on lines +213 to +218
#### Async Tasks with Spawn

For long-running tasks (web search, API calls), use the `spawn` tool to create a **subagent**:

```markdown
# Periodic Tasks
Comment on lines +67 to +79
## Ferramenta Exec

A ferramenta exec é usada para executar comandos shell.

| Config | Tipo | Padrão | Descrição |
|------------------------|-------|--------|-------------------------------------------------|
| `enable_deny_patterns` | bool | true | Habilitar bloqueio padrão de comandos perigosos |
| `custom_deny_patterns` | array | [] | Padrões de negação personalizados (expressões regulares) |

### Funcionalidade

- **`enable_deny_patterns`**: Defina como `false` para desabilitar completamente os padrões de bloqueio de comandos perigosos padrão
- **`custom_deny_patterns`**: Adicione padrões regex de negação personalizados; comandos correspondentes serão bloqueados
Comment on lines +67 to +79
## Exec ツール

Exec ツールはシェルコマンドの実行に使用されます。

| 設定項目 | 型 | デフォルト | 説明 |
|------------------------|-------|------------|------------------------------------|
| `enable_deny_patterns` | bool | true | デフォルトの危険コマンドブロックを有効にする |
| `custom_deny_patterns` | array | [] | カスタム拒否パターン(正規表現) |

### 機能

- **`enable_deny_patterns`**:`false` に設定すると、デフォルトの危険コマンドブロックパターンを完全に無効にします
- **`custom_deny_patterns`**:カスタム拒否正規表現パターンを追加します。一致するコマンドはブロックされます
Comment on lines +61 to +79
| Config | Type | Par défaut | Description |
|---------------|--------|------------|--------------------------------|
| `enabled` | bool | false | Activer la recherche Perplexity |
| `api_key` | string | - | Clé API Perplexity |
| `max_results` | int | 5 | Nombre maximum de résultats |

## Outil Exec

L'outil exec est utilisé pour exécuter des commandes shell.

| Config | Type | Par défaut | Description |
|------------------------|-------|------------|------------------------------------------------|
| `enable_deny_patterns` | bool | true | Activer le blocage par défaut des commandes dangereuses |
| `custom_deny_patterns` | array | [] | Modèles de refus personnalisés (expressions régulières) |

### Fonctionnalité

- **`enable_deny_patterns`** : Définir à `false` pour désactiver complètement les modèles de blocage par défaut des commandes dangereuses
- **`custom_deny_patterns`** : Ajouter des modèles regex de refus personnalisés ; les commandes correspondantes seront bloquées
"model_name": "ark-code-latest",
"model": "volcengine/ark-code-latest",
"api_key": "sk-your-api-key",
"api_base":"https://ark.cn-beijing.volces.com/api/coding/v3"
Comment on lines +93 to +98
{
"model_name": "ark-code-latest",
"model": "volcengine/ark-code-latest",
"api_key": "sk-your-api-key",
"api_base":"https://ark.cn-beijing.volces.com/api/coding/v3"
},
Copy link
Collaborator

@lxowalle lxowalle left a comment

Choose a reason for hiding this comment

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

LGTM!

@lxowalle lxowalle merged commit 363861c into sipeed:main Mar 18, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants