Spaces:
Runtime error
Runtime error
| # OmniRoute Documentation Overhaul Plan | |
| > Goal: Make all docs accessible to non-tech users while preserving technical depth for developers. | |
| > Strategy: Two-tier docs (User Guide + Technical Reference) with cross-links. | |
| --- | |
| ## Design Principles | |
| 1. **User Guide** (new files in `docs/guides/`) | |
| - Plain language, no jargon | |
| - "Why β What β How" structure | |
| - Tables for comparisons | |
| - Copy-paste examples | |
| - "What's next?" at the end | |
| 2. **Technical Reference** (existing files) | |
| - Keep as-is (already well-written) | |
| - Add "For Users" callout at top linking to user guide | |
| - Add "Prerequisites" section | |
| - Ensure consistent formatting | |
| 3. **Cross-Links** | |
| - User guides link to technical docs for "learn more" | |
| - Technical docs link to user guides for "quick start" | |
| --- | |
| ## Phase 1: User-Facing Quick Start Docs (Highest Impact) | |
| ### 1.1 `docs/guides/QUICK-START.md` β NEW | |
| **Replaces**: Condensed version of README.md | |
| **Content**: | |
| - Install (npm, Docker, source) | |
| - Connect a free provider (3 steps) | |
| - Point your IDE to OmniRoute | |
| - Verify it works | |
| - "What's next?" β link to other guides | |
| ### 1.2 `docs/guides/AUTO-COMBO-GUIDE.md` β NEW | |
| **Complements**: `docs/routing/AUTO-COMBO.md` | |
| **Content**: | |
| - What auto-combo does (30-second version) | |
| - Which `auto` should I use? (table) | |
| - How it picks providers (simple version) | |
| - Common questions (FAQ) | |
| - "Learn more" β link to technical reference | |
| ### 1.3 `docs/guides/PROVIDERS-GUIDE.md` β NEW | |
| **Complements**: `docs/reference/PROVIDER_REFERENCE.md` | |
| **Content**: | |
| - What is a provider? (analogy) | |
| - How to connect a provider (step-by-step) | |
| - Free vs paid providers (table) | |
| - OAuth vs API key (which do I need?) | |
| - Troubleshooting connection issues | |
| - "Learn more" β link to provider reference | |
| ### 1.4 `docs/guides/FREE-TIERS-GUIDE.md` β NEW | |
| **Complements**: `docs/reference/FREE_TIERS.md` | |
| **Content**: | |
| - What are free tiers? (analogy) | |
| - Best free providers (table with quotas) | |
| - How to stack free tiers for unlimited usage | |
| - Common questions (FAQ) | |
| - "Learn more" β link to free tiers reference | |
| ### 1.5 `docs/guides/TROUBLESHOOTING.md` β REWRITE | |
| **Current**: Technical, code-heavy | |
| **New**: "I see X β Do Y" format | |
| **Content**: | |
| - Problem β Solution table | |
| - Common error messages (with screenshots) | |
| - "Still stuck?" β link to community | |
| --- | |
| ## Phase 2: Refine Existing User Docs | |
| ### 2.1 `docs/guides/USER_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "What you'll learn" section at top | |
| - Remove jargon, explain terms | |
| - Add step-by-step screenshots | |
| - Add "Common mistakes" section | |
| ### 2.2 `docs/guides/SETUP_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "Prerequisites" section | |
| - Simplify commands (one-liners) | |
| - Add "Verify it works" step | |
| - Add "Troubleshooting" section | |
| ### 2.3 `docs/guides/FEATURES.md` β UPDATE | |
| **Changes**: | |
| - Add "Why this matters" for each feature | |
| - Add use-case examples | |
| - Add "How to enable" for each feature | |
| - Add screenshots | |
| ### 2.4 `docs/guides/DOCKER_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "Docker for beginners" section | |
| - Simplify commands | |
| - Add "Common Docker issues" section | |
| - Add "What's next?" section | |
| ### 2.5 `docs/guides/ELECTRON_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "What is Electron?" explanation | |
| - Add screenshots | |
| - Add "Common issues" section | |
| ### 2.6 `docs/guides/TERMUX_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "What is Termux?" explanation | |
| - Add step-by-step with screenshots | |
| - Add "Common issues" section | |
| ### 2.7 `docs/guides/PWA_GUIDE.md` β UPDATE | |
| **Changes**: | |
| - Add "What is a PWA?" explanation | |
| - Add step-by-step with screenshots | |
| - Add "Common issues" section | |
| ### 2.8 `docs/guides/I18N.md` β UPDATE | |
| **Changes**: | |
| - Add "How to change language" (user perspective) | |
| - Add "How to contribute translations" (contributor perspective) | |
| ### 2.9 `docs/guides/KIRO_SETUP.md` β UPDATE | |
| **Changes**: | |
| - Add "What is Kiro?" explanation | |
| - Add step-by-step with screenshots | |
| - Add "Common issues" section | |
| ### 2.10 `docs/guides/UNINSTALL.md` β UPDATE | |
| **Changes**: | |
| - Add "Why uninstall?" section (common reasons) | |
| - Add "Before you uninstall" checklist | |
| - Simplify commands | |
| --- | |
| ## Phase 3: Technical Docs (Add Cross-Links, Keep As-Is) | |
| ### 3.1 `docs/architecture/` (6 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - ARCHITECTURE.md | |
| - AUTHZ_GUIDE.md | |
| - CODEBASE_DOCUMENTATION.md | |
| - MONITORING_SECTIONS.md | |
| - REPOSITORY_MAP.md | |
| - RESILIENCE_GUIDE.md | |
| ### 3.2 `docs/frameworks/` (16 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - A2A-SERVER.md | |
| - AGENT-SKILLS.md | |
| - AGENTBRIDGE.md | |
| - AGENT_PROTOCOLS_GUIDE.md | |
| - CLOUD_AGENT.md | |
| - EMBEDDED-SERVICES.md | |
| - EVALS.md | |
| - GAMIFICATION.md | |
| - MCP-SERVER.md | |
| - MEMORY.md | |
| - OPENCODE.md | |
| - PLAYGROUND_STUDIO.md | |
| - SEARCH_TOOLS_STUDIO.md | |
| - SKILLS.md | |
| - TRAFFIC_INSPECTOR.md | |
| - WEBHOOKS.md | |
| ### 3.3 `docs/security/` (9 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - CLI_TOKEN.md | |
| - CLI_TOKEN_AUTH.md | |
| - COMPLIANCE.md | |
| - ERROR_SANITIZATION.md | |
| - GUARDRAILS.md | |
| - PUBLIC_CREDS.md | |
| - ROUTE_GUARD_TIERS.md | |
| - SOCKET_DEV_FINDINGS.md | |
| - STEALTH_GUIDE.md | |
| ### 3.4 `docs/ops/` (8 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - COVERAGE_PLAN.md | |
| - E2E_DASHBOARD_SHAKEDOWN_v3.8.0.md | |
| - FLY_IO_DEPLOYMENT_GUIDE.md | |
| - PROXY_GUIDE.md | |
| - RELEASE_CHECKLIST.md | |
| - SQLITE_RUNTIME.md | |
| - TUNNELS_GUIDE.md | |
| - VM_DEPLOYMENT_GUIDE.md | |
| ### 3.5 `docs/compression/` (5 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - COMPRESSION_ENGINES.md | |
| - COMPRESSION_GUIDE.md | |
| - COMPRESSION_LANGUAGE_PACKS.md | |
| - COMPRESSION_RULES_FORMAT.md | |
| - RTK_COMPRESSION.md | |
| ### 3.6 `docs/routing/` (3 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - AUTO-COMBO.md (β link to AUTO-COMBO-GUIDE.md) | |
| - QUOTA_SHARE.md | |
| - REASONING_REPLAY.md | |
| ### 3.7 `docs/reference/` (5 files) | |
| **Changes**: Add "For Users" callout at top β link to user guide | |
| - API_REFERENCE.md | |
| - CLI-TOOLS.md | |
| - ENVIRONMENT.md | |
| - FREE_TIERS.md (β link to FREE-TIERS-GUIDE.md) | |
| - PROVIDER_REFERENCE.md (β link to PROVIDERS-GUIDE.md) | |
| ### 3.8 Other Docs (keep as-is) | |
| - `docs/comparison/OMNIROUTE_VS_ALTERNATIVES.md` β Already user-friendly | |
| - `docs/marketing/TIERS.md` β Already user-friendly | |
| - `docs/diagrams/README.md` β Keep as-is | |
| - `docs/dev/plugins.md` β Developer-only | |
| - `docs/plugins/PLUGIN_SDK.md` β Developer-only | |
| - `docs/providers/ZED-DOCKER.md` β Provider-specific | |
| - `docs/AGENTROUTER.md` β Provider-specific | |
| - `docs/PROVIDERS.md` β Provider-specific | |
| - `docs/README.md` β Keep as-is | |
| - `docs/SUBMIT_PR.md` β Contributor-only | |
| - `docs/releases/v3.8.0.md` β Release notes | |
| - `docs/research/` β Internal research | |
| - `docs/specs/` β Internal specs | |
| - `docs/openspec/` β Internal specs | |
| - `docs/superpowers/` β Internal plans | |
| --- | |
| ## Phase 4: Update Main README.md | |
| **Changes**: | |
| - Add "Quick Start" section (3 steps) | |
| - Add "Which `auto` should I use?" table | |
| - Add "Free providers" table | |
| - Add "Common questions" section | |
| - Link to user guides | |
| --- | |
| ## Execution Order | |
| ### Week 1: Phase 1 (User-Facing Quick Start Docs) | |
| 1. `docs/guides/QUICK-START.md` β NEW | |
| 2. `docs/guides/AUTO-COMBO-GUIDE.md` β NEW | |
| 3. `docs/guides/PROVIDERS-GUIDE.md` β NEW | |
| 4. `docs/guides/FREE-TIERS-GUIDE.md` β NEW | |
| 5. `docs/guides/TROUBLESHOOTING.md` β REWRITE | |
| ### Week 2: Phase 2 (Refine Existing User Docs) | |
| 1. `docs/guides/USER_GUIDE.md` β UPDATE | |
| 2. `docs/guides/SETUP_GUIDE.md` β UPDATE | |
| 3. `docs/guides/FEATURES.md` β UPDATE | |
| 4. `docs/guides/DOCKER_GUIDE.md` β UPDATE | |
| 5. `docs/guides/ELECTRON_GUIDE.md` β UPDATE | |
| 6. `docs/guides/TERMUX_GUIDE.md` β UPDATE | |
| 7. `docs/guides/PWA_GUIDE.md` β UPDATE | |
| 8. `docs/guides/I18N.md` β UPDATE | |
| 9. `docs/guides/KIRO_SETUP.md` β UPDATE | |
| 10. `docs/guides/UNINSTALL.md` β UPDATE | |
| ### Week 3: Phase 3 (Technical Docs Cross-Links) | |
| 1. `docs/architecture/` β Add cross-links | |
| 2. `docs/frameworks/` β Add cross-links | |
| 3. `docs/security/` β Add cross-links | |
| 4. `docs/ops/` β Add cross-links | |
| 5. `docs/compression/` β Add cross-links | |
| 6. `docs/routing/` β Add cross-links | |
| 7. `docs/reference/` β Add cross-links | |
| ### Week 4: Phase 4 (Update Main README.md) | |
| 1. Update README.md with user-friendly sections | |
| --- | |
| ## Success Metrics | |
| - [ ] User can install OmniRoute in < 5 minutes (QUICK-START.md) | |
| - [ ] User can connect a provider in < 3 minutes (PROVIDERS-GUIDE.md) | |
| - [ ] User can use auto-combo in < 1 minute (AUTO-COMBO-GUIDE.md) | |
| - [ ] User can find free providers in < 2 minutes (FREE-TIERS-GUIDE.md) | |
| - [ ] User can troubleshoot common issues in < 5 minutes (TROUBLESHOOTING.md) | |
| - [ ] All technical docs link to user guides | |
| - [ ] All user guides link to technical docs | |
| --- | |
| ## File Naming Convention | |
| - User guides: `docs/guides/[FEATURE]-GUIDE.md` (e.g., `AUTO-COMBO-GUIDE.md`) | |
| - Technical docs: Keep existing names (e.g., `docs/routing/AUTO-COMBO.md`) | |
| - Cross-links: "For Users" callout at top of technical docs | |
| --- | |
| ## Template for User Guides | |
| ```markdown | |
| # [Feature Name]: [One-Line Description] | |
| ## What It Does | |
| [2-3 sentences explaining what the feature does in plain language] | |
| ## Quick Start | |
| [Step-by-step instructions to get started] | |
| ## [Main Section] | |
| [Detailed explanation with tables, examples, screenshots] | |
| ## Common Questions | |
| [FAQ section with common questions and answers] | |
| ## What's Next? | |
| [Links to related guides and technical docs] | |
| ``` | |
| --- | |
| ## Template for Technical Doc Cross-Links | |
| ```markdown | |
| > **For Users**: Looking for a quick start? See the [User Guide](../guides/[FEATURE]-GUIDE.md). | |
| > **Prerequisites**: [List prerequisites] | |
| ``` | |