docs/README.md# Documentation Structure
This directory contains general cross-cutting documentation for the Torrust Tracker Demo project.
For specific documentation:
- Application documentation:
../application/docs/ - Infrastructure documentation:
../infrastructure/docs/
This directory currently contains cross-cutting documentation:
📋 adr/ (Architecture Decision Records)
Important architectural decisions that affect the system structure, behavior, or development process.
📖 See ADR README for complete list, guidelines, and best practices.
📅 plans/ (Ongoing Plans and Roadmaps)
Current Plans:
- Hetzner Migration Plan - Comprehensive plan for migrating from Digital Ocean to Hetzner infrastructure
🎯 issues/ (Implementation Plans)
Issue Implementation Plans:
- Phase 1: MySQL Migration - Detailed implementation plan for database migration from SQLite to MySQL
🏗️ infrastructure/ (Infrastructure Documentation)
Cross-cutting infrastructure documentation - For infrastructure-related documentation that affects the project as a whole or provides reference materials.
Current Infrastructure Documentation:
- SSH Host Key Verification - Explains and resolves SSH host key verification warnings in VM development
Deployment, configuration, and testing guides for various scenarios:
- Deployment Guide - Complete deployment guide for local and cloud environments
- Integration Testing Guide -
🔧 refactoring/ (Refactoring Documentation)
Major refactoring initiatives and changes - Documentation of significant codebase changes, architectural improvements, and migration summaries.
Current Refactoring Documentation:
- Integration Test Refactor Summary - Summary of changes made to align integration testing with 12-factor configuration principles
The following directories can be created as needed:
Findings, explorations, and technical investigations - For documenting research findings, performance analysis, and technical explorations that span multiple concerns.
Performance testing and benchmarks - For performance analysis, optimization data, and benchmark results that evaluate the complete system.
Mathematical and theoretical concepts - For algorithms, protocols, and theoretical documentation related to BitTorrent and distributed systems.
When adding new documentation:
-
Check if it belongs in application or infrastructure docs first
- See
../application/README.mdfor application documentation guidelines - See
../infrastructure/README.mdfor infrastructure documentation guidelines
- See
-
Use this directory for cross-cutting concerns only
- Architecture decisions affecting multiple layers
- Ongoing plans and roadmaps spanning multiple phases
- Research spanning infrastructure and application
- Theoretical concepts and protocols
- Performance analysis of the complete system
-
Create appropriate directories only when you have content to add
-
Use descriptive filenames that clearly indicate the content
-
Follow markdown best practices and maintain consistency
-
Update README files when adding new categories or significant content
-
Cross-reference related documentation when appropriate
- Cross-cutting vs Specific: Keep layer-specific docs in their respective directories
- Plans: Should document strategic initiatives, migration plans, and multi-phase projects
- Research: Should document findings, methodology, and conclusions
- ADRs: Should follow standard ADR template format and affect multiple layers
- Theory: Should explain concepts clearly with examples when possible
- Benchmarks: Should include methodology, environment, and reproducible results
- Markdown Tables: For tables exceeding line length limits, see
.markdownlint.mdfor proper formatting guidelines