197 lines
6.6 KiB
Markdown
197 lines
6.6 KiB
Markdown
|
|
# Documentation Directory Structure
|
||
|
|
|
||
|
|
```
|
||
|
|
botserver/
|
||
|
|
│
|
||
|
|
├── 📄 README.md ← Entry point - Quick overview & navigation
|
||
|
|
├── 📋 CHANGELOG.md ← Version history (stays at root)
|
||
|
|
│
|
||
|
|
└── 📁 docs/ ← All documentation lives here
|
||
|
|
│
|
||
|
|
├── 📖 INDEX.md ← Comprehensive documentation index
|
||
|
|
├── 📝 REORGANIZATION_SUMMARY.md ← This reorganization explained
|
||
|
|
├── 🗺️ STRUCTURE.md ← This file (visual structure)
|
||
|
|
│
|
||
|
|
├── 📚 CORE CHAPTERS (00-07)
|
||
|
|
│ ├── 00-README.md ← Introduction & Getting Started
|
||
|
|
│ ├── 01-BUILD_STATUS.md ← Build & Development Status
|
||
|
|
│ ├── 02-CODE_OF_CONDUCT.md ← Code of Conduct (English)
|
||
|
|
│ ├── 03-CODE_OF_CONDUCT-pt-br.md ← Código de Conduta (Português)
|
||
|
|
│ ├── 04-CONTRIBUTING.md ← Contributing Guidelines
|
||
|
|
│ ├── 05-INTEGRATION_STATUS.md ← Module Integration Tracking
|
||
|
|
│ ├── 06-SECURITY.md ← Security Policy
|
||
|
|
│ └── 07-STATUS.md ← Production Status
|
||
|
|
│
|
||
|
|
├── 🔧 TECHNICAL DOCUMENTATION
|
||
|
|
│ ├── BASIC_UNIVERSAL_MESSAGING.md ← Multi-channel communication
|
||
|
|
│ ├── KB_AND_TOOLS.md ← Core KB & TOOL system
|
||
|
|
│ ├── QUICK_START.md ← Fast-track setup guide
|
||
|
|
│ ├── SECURITY_FEATURES.md ← Security implementation details
|
||
|
|
│ ├── SEMANTIC_CACHE.md ← LLM caching (70% cost reduction)
|
||
|
|
│ └── SMB_DEPLOYMENT_GUIDE.md ← Small business deployment
|
||
|
|
│
|
||
|
|
├── 🧹 MAINTENANCE DOCUMENTATION
|
||
|
|
│ ├── CLEANUP_COMPLETE.md ← Completed cleanup tasks
|
||
|
|
│ ├── CLEANUP_WARNINGS.md ← Warning analysis
|
||
|
|
│ ├── FIX_WARNINGS_NOW.md ← Immediate action items
|
||
|
|
│ └── WARNINGS_SUMMARY.md ← Warning overview
|
||
|
|
│
|
||
|
|
└── 📁 src/ ← Book-style comprehensive docs
|
||
|
|
├── README.md ← Book introduction
|
||
|
|
├── SUMMARY.md ← Table of contents
|
||
|
|
│
|
||
|
|
├── 📁 chapter-01/ ← Getting Started
|
||
|
|
│ ├── README.md
|
||
|
|
│ ├── installation.md
|
||
|
|
│ ├── first-conversation.md
|
||
|
|
│ └── sessions.md
|
||
|
|
│
|
||
|
|
├── 📁 chapter-02/ ← Package System
|
||
|
|
│ ├── README.md
|
||
|
|
│ ├── gbai.md
|
||
|
|
│ ├── gbdialog.md
|
||
|
|
│ ├── gbdrive.md
|
||
|
|
│ ├── gbkb.md
|
||
|
|
│ ├── gbot.md
|
||
|
|
│ ├── gbtheme.md
|
||
|
|
│ └── summary.md
|
||
|
|
│
|
||
|
|
├── 📁 chapter-03/ ← Knowledge Management
|
||
|
|
│ ├── README.md
|
||
|
|
│ ├── semantic-search.md
|
||
|
|
│ ├── qdrant.md
|
||
|
|
│ ├── caching.md
|
||
|
|
│ ├── context-compaction.md
|
||
|
|
│ ├── indexing.md
|
||
|
|
│ ├── vector-collections.md
|
||
|
|
│ └── summary.md
|
||
|
|
│
|
||
|
|
├── 📁 chapter-04/ ← User Interface
|
||
|
|
│ ├── README.md
|
||
|
|
│ ├── html.md
|
||
|
|
│ ├── css.md
|
||
|
|
│ ├── structure.md
|
||
|
|
│ └── web-interface.md
|
||
|
|
│
|
||
|
|
├── 📁 chapter-05/ ← BASIC Language (30+ keywords)
|
||
|
|
│ ├── README.md
|
||
|
|
│ ├── basics.md
|
||
|
|
│ ├── keyword-add-kb.md
|
||
|
|
│ ├── keyword-add-tool.md
|
||
|
|
│ ├── keyword-add-website.md
|
||
|
|
│ ├── keyword-clear-tools.md
|
||
|
|
│ ├── keyword-create-draft.md
|
||
|
|
│ ├── keyword-create-site.md
|
||
|
|
│ ├── keyword-exit-for.md
|
||
|
|
│ └── ... (30+ more keyword docs)
|
||
|
|
│
|
||
|
|
└── 📁 appendix-i/ ← Database Schema
|
||
|
|
├── README.md
|
||
|
|
├── tables.md
|
||
|
|
├── relationships.md
|
||
|
|
└── schema.md
|
||
|
|
```
|
||
|
|
|
||
|
|
## Navigation Paths
|
||
|
|
|
||
|
|
### 🚀 For New Users
|
||
|
|
```
|
||
|
|
README.md
|
||
|
|
└─> docs/00-README.md (detailed intro)
|
||
|
|
└─> docs/QUICK_START.md (get running)
|
||
|
|
└─> docs/KB_AND_TOOLS.md (core concepts)
|
||
|
|
```
|
||
|
|
|
||
|
|
### 👨💻 For Contributors
|
||
|
|
```
|
||
|
|
README.md
|
||
|
|
└─> docs/04-CONTRIBUTING.md (guidelines)
|
||
|
|
└─> docs/01-BUILD_STATUS.md (build setup)
|
||
|
|
└─> docs/05-INTEGRATION_STATUS.md (current work)
|
||
|
|
```
|
||
|
|
|
||
|
|
### 🚢 For Deployers
|
||
|
|
```
|
||
|
|
README.md
|
||
|
|
└─> docs/07-STATUS.md (production readiness)
|
||
|
|
└─> docs/SMB_DEPLOYMENT_GUIDE.md (deployment)
|
||
|
|
└─> docs/SECURITY_FEATURES.md (security setup)
|
||
|
|
```
|
||
|
|
|
||
|
|
### 🔍 For Developers
|
||
|
|
```
|
||
|
|
README.md
|
||
|
|
└─> docs/INDEX.md (full index)
|
||
|
|
└─> docs/src/ (detailed technical docs)
|
||
|
|
└─> Specific chapters as needed
|
||
|
|
```
|
||
|
|
|
||
|
|
## File Statistics
|
||
|
|
|
||
|
|
| Category | Count | Description |
|
||
|
|
|----------|-------|-------------|
|
||
|
|
| Root files | 2 | README.md, CHANGELOG.md |
|
||
|
|
| Core chapters (00-07) | 8 | Numbered documentation |
|
||
|
|
| Technical docs | 6 | Feature-specific guides |
|
||
|
|
| Maintenance docs | 4 | Cleanup and warnings |
|
||
|
|
| Meta docs | 3 | INDEX, REORGANIZATION, STRUCTURE |
|
||
|
|
| Book chapters | 40+ | Comprehensive src/ docs |
|
||
|
|
| **Total** | **60+** | All documentation files |
|
||
|
|
|
||
|
|
## Key Features of This Structure
|
||
|
|
|
||
|
|
### ✅ Clear Organization
|
||
|
|
- Numbered chapters provide reading order
|
||
|
|
- Technical docs organized alphabetically
|
||
|
|
- Maintenance docs grouped together
|
||
|
|
- Book-style docs in subdirectory
|
||
|
|
|
||
|
|
### ✅ Easy Navigation
|
||
|
|
- INDEX.md provides comprehensive overview
|
||
|
|
- README.md provides quick entry point
|
||
|
|
- Multiple navigation paths for different users
|
||
|
|
- Clear cross-references
|
||
|
|
|
||
|
|
### ✅ Maintainable
|
||
|
|
- Consistent naming convention
|
||
|
|
- Logical grouping
|
||
|
|
- Easy to find and update files
|
||
|
|
- Clear separation of concerns
|
||
|
|
|
||
|
|
### ✅ Discoverable
|
||
|
|
- New users find what they need quickly
|
||
|
|
- Contributors know where to start
|
||
|
|
- Deployers have clear deployment path
|
||
|
|
- Developers can dive deep into technical details
|
||
|
|
|
||
|
|
## Quick Commands
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# View all core chapters
|
||
|
|
ls docs/0*.md
|
||
|
|
|
||
|
|
# View all technical documentation
|
||
|
|
ls docs/[A-Z]*.md
|
||
|
|
|
||
|
|
# Search all documentation
|
||
|
|
grep -r "search term" docs/
|
||
|
|
|
||
|
|
# View book-style documentation structure
|
||
|
|
tree docs/src/
|
||
|
|
|
||
|
|
# Count total documentation files
|
||
|
|
find docs -name "*.md" | wc -l
|
||
|
|
```
|
||
|
|
|
||
|
|
## Version Information
|
||
|
|
|
||
|
|
- **Created**: 2024-11-22
|
||
|
|
- **Version**: 6.0.8
|
||
|
|
- **Status**: ✅ Complete
|
||
|
|
- **Total files**: 60+
|
||
|
|
- **Organization**: Chapters + Technical + Book-style
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**For full documentation index, see [INDEX.md](INDEX.md)**
|