|
| 1 | +# VisionForge Documentation |
| 2 | + |
| 3 | +This directory contains the complete user documentation for VisionForge, built with MkDocs. |
| 4 | + |
| 5 | +## 📚 Documentation Overview |
| 6 | + |
| 7 | +The documentation provides comprehensive guides for building neural networks visually using VisionForge's drag-and-drop interface. |
| 8 | + |
| 9 | +### 🎯 Key Sections |
| 10 | + |
| 11 | +- **Getting Started** - Installation and quick start guide |
| 12 | +- **Architecture Design** - Creating diagrams and connection rules |
| 13 | +- **Layer Reference** - Complete guide to all available layers |
| 14 | +- **Examples** - Step-by-step tutorials for common architectures |
| 15 | +- **Code Generation** - Export to PyTorch and TensorFlow |
| 16 | +- **API Reference** - Backend and frontend API documentation |
| 17 | +- **Advanced Topics** - Group blocks, AI assistant, sharing |
| 18 | +- **Troubleshooting** - Common issues and solutions |
| 19 | + |
| 20 | +## 🚀 Quick Start |
| 21 | + |
| 22 | +### 1. Install Dependencies |
| 23 | + |
| 24 | +```bash |
| 25 | +pip install mkdocs mkdocs-material mkdocs-mermaid2-plugin mkdocs-video-plugin mkdocs-glightbox |
| 26 | +``` |
| 27 | + |
| 28 | +### 2. Serve Documentation |
| 29 | + |
| 30 | +```bash |
| 31 | +mkdocs serve |
| 32 | +``` |
| 33 | + |
| 34 | +The documentation will be available at `http://127.0.0.1:8000` |
| 35 | + |
| 36 | +### 3. Build for Production |
| 37 | + |
| 38 | +```bash |
| 39 | +mkdocs build |
| 40 | +``` |
| 41 | + |
| 42 | +Built files will be in the `site/` directory. |
| 43 | + |
| 44 | +## 📖 Documentation Structure |
| 45 | + |
| 46 | +``` |
| 47 | +docs/ |
| 48 | +├── index.md # Main landing page |
| 49 | +├── getting-started/ |
| 50 | +│ ├── installation.md # Setup instructions |
| 51 | +│ ├── quickstart.md # First neural network |
| 52 | +│ └── interface.md # UI overview |
| 53 | +├── architecture/ |
| 54 | +│ ├── creating-diagrams.md # Visual building guide |
| 55 | +│ ├── connection-rules.md # Layer compatibility |
| 56 | +│ ├── shape-inference.md # Tensor dimensions |
| 57 | +│ └── validation.md # Error checking |
| 58 | +├── layers/ |
| 59 | +│ ├── input.md # Input layer types |
| 60 | +│ ├── core.md # Basic neural network layers |
| 61 | +│ ├── activation.md # Activation functions |
| 62 | +│ ├── pooling.md # Pooling operations |
| 63 | +│ ├── merge.md # Combining paths |
| 64 | +│ └── advanced.md # Specialized layers |
| 65 | +├── examples/ |
| 66 | +│ ├── simple-cnn.md # Basic CNN tutorial |
| 67 | +│ ├── resnet.md # Skip connections |
| 68 | +│ ├── lstm.md # Sequence modeling |
| 69 | +│ └── group-blocks.md # Custom components |
| 70 | +├── codegen/ |
| 71 | +│ ├── pytorch.md # PyTorch export |
| 72 | +│ ├── tensorflow.md # TensorFlow export |
| 73 | +│ └── custom-templates.md # Custom code generation |
| 74 | +├── api/ |
| 75 | +│ ├── rest-api.md # Backend API |
| 76 | +│ └── node-definitions.md # Layer specifications |
| 77 | +├── advanced/ |
| 78 | +│ ├── group-blocks.md # Reusable components |
| 79 | +│ ├── ai-assistant.md # Natural language help |
| 80 | +│ └── sharing.md # Project collaboration |
| 81 | +└── troubleshooting/ |
| 82 | + ├── common-issues.md # Frequently asked questions |
| 83 | + ├── validation-errors.md # Architecture validation |
| 84 | + └── performance.md # Optimization tips |
| 85 | +``` |
| 86 | + |
| 87 | +## 🎨 Features |
| 88 | + |
| 89 | +### Interactive Elements |
| 90 | +- **Mermaid diagrams** for architecture visualization |
| 91 | +- **Code highlighting** for generated examples |
| 92 | +- **Responsive design** for all devices |
| 93 | +- **Search functionality** for quick navigation |
| 94 | + |
| 95 | +### Navigation |
| 96 | +- **Tabbed navigation** by topic |
| 97 | +- **Expandable sections** for detailed content |
| 98 | +- **Breadcrumbs** for location tracking |
| 99 | +- **Related links** for guided learning |
| 100 | + |
| 101 | +### Visual Aids |
| 102 | +- **Color-coded layers** by category |
| 103 | +- **Connection diagrams** showing valid paths |
| 104 | +- **Shape progression tables** for tensor tracking |
| 105 | +- **Validation indicators** for error checking |
| 106 | + |
| 107 | +## 🔧 Configuration |
| 108 | + |
| 109 | +The documentation uses the Material theme with these features: |
| 110 | + |
| 111 | +- **Dark/light mode** toggle |
| 112 | +- **Code syntax highlighting** |
| 113 | +- **Mermaid diagram support** |
| 114 | +- **Responsive design** |
| 115 | +- **Search functionality** |
| 116 | +- **Social links** |
| 117 | + |
| 118 | +## 📝 Contributing |
| 119 | + |
| 120 | +When updating documentation: |
| 121 | + |
| 122 | +1. **Follow the existing style** and structure |
| 123 | +2. **Use Mermaid diagrams** for visual explanations |
| 124 | +3. **Include code examples** with proper highlighting |
| 125 | +4. **Add cross-references** to related topics |
| 126 | +5. **Test all links** and examples |
| 127 | + |
| 128 | +### Style Guidelines |
| 129 | + |
| 130 | +- Use **clear headings** and subheadings |
| 131 | +- Include **emoji** for visual hierarchy |
| 132 | +- Provide **step-by-step** instructions |
| 133 | +- Add **validation checklists** where appropriate |
| 134 | +- Include **common pitfalls** and solutions |
| 135 | + |
| 136 | +## 🚀 Deployment |
| 137 | + |
| 138 | +### GitHub Pages |
| 139 | +```bash |
| 140 | +# Install gh-pages |
| 141 | +pip install gh-pages |
| 142 | + |
| 143 | +# Deploy to GitHub Pages |
| 144 | +mkdocs gh-deploy |
| 145 | +``` |
| 146 | + |
| 147 | +### Custom Domain |
| 148 | +Update `mkdocs.yml` with your domain: |
| 149 | +```yaml |
| 150 | +site_url: https://your-domain.com/docs |
| 151 | +``` |
| 152 | +
|
| 153 | +## 📊 Analytics |
| 154 | +
|
| 155 | +Add Google Analytics by updating `mkdocs.yml`: |
| 156 | +```yaml |
| 157 | +extra: |
| 158 | + analytics: |
| 159 | + provider: google |
| 160 | + property: G-XXXXXXXXXX |
| 161 | +``` |
| 162 | + |
| 163 | +## 🔗 External Resources |
| 164 | + |
| 165 | +- [MkDocs Documentation](https://www.mkdocs.org/) |
| 166 | +- [Material Theme](https://squidfunk.github.io/mkdocs-material/) |
| 167 | +- [Mermaid Diagram Syntax](https://mermaid-js.github.io/) |
| 168 | + |
| 169 | +--- |
| 170 | + |
| 171 | +**For VisionForge usage**, see the [main documentation](docs/index.md) |
0 commit comments