Skip to content

docs: [Epic] Standardize documentation structure across all ecosystem systems #303

Description

@kcenon

Summary

Establish a standardized documentation structure across all 7 ecosystem systems (common_system, thread_system, logger_system, container_system, monitoring_system, database_system, network_system) to improve consistency, reduce duplication, and enhance developer experience.

Background (Why)

  • Documentation structures vary significantly across systems
  • Multiple files exist at root level that should be in docs/ folder
  • Duplicate documents exist (e.g., CHANGELOG.md at root and docs/)
  • Similar documents (FEATURES vs CAPABILITIES_SUMMARY) cause confusion
  • BASELINE.md location inconsistent (benchmarks/ vs docs/performance/)
  • No standardized documentation template across systems

Current pain points:

  • Developers must learn different documentation layouts for each system
  • Duplicate content leads to outdated information
  • Root-level documentation clutter affects repository readability
  • Finding specific documentation requires searching multiple locations

Scope (What)

Target Systems

System Primary Issues
common_system Reference standard - well-organized
thread_system Root-level files need relocation, FEATURES duplication
logger_system Minor cleanup needed
container_system Well-organized
monitoring_system Minor cleanup needed
database_system BENCHMARKS.md duplication
network_system Multiple root-level files, CHANGELOG duplication

Standard Documentation Structure

<system>/
├── README.md              # Project introduction (English)
├── README.kr.md           # Project introduction (Korean)
└── docs/
    ├── README.md          # Documentation navigation/index
    │
    ├── # Core documents (Required)
    ├── ARCHITECTURE.md    # System architecture overview
    ├── API_REFERENCE.md   # API reference
    ├── FEATURES.md        # Feature list and descriptions
    ├── CHANGELOG.md       # Change history
    ├── PROJECT_STRUCTURE.md  # Codebase structure
    │
    ├── # Advanced documents
    ├── advanced/
    │   ├── ARCHITECTURE.md   # Detailed architecture (internals)
    │   ├── MIGRATION.md      # Migration guide
    │   └── STRUCTURE.md      # Internal structure details
    │
    ├── # User guides
    ├── guides/
    │   ├── QUICK_START.md    # Quick start guide
    │   ├── INTEGRATION.md    # Integration guide
    │   ├── BEST_PRACTICES.md # Best practices
    │   ├── FAQ.md            # Frequently asked questions
    │   └── TROUBLESHOOTING.md # Troubleshooting guide
    │
    ├── # Performance
    ├── performance/
    │   ├── BASELINE.md       # Performance baseline
    │   └── TUNING.md         # Performance tuning guide
    │
    ├── # Contributing
    ├── contributing/
    │   ├── CONTRIBUTING.md   # Contributing guidelines
    │   └── CI_CD_GUIDE.md    # CI/CD setup guide
    │
    └── # Integration
    └── integration/
        └── README.md         # Integration overview

Impact Analysis (Where)

Files to Relocate

System File Target Location
thread_system THREAD_SYSTEM_CAPABILITIES_SUMMARY.md Merge into docs/FEATURES.md
thread_system EXPLORATION_SUMMARY.md Delete (temporary analysis)
thread_system ARCHITECTURE_DIAGRAM.md docs/
network_system CHANGELOG.md Merge with docs/CHANGELOG.md
network_system BASELINE.md docs/performance/BASELINE.md
network_system STRUCTURE.md Merge with docs/PROJECT_STRUCTURE.md
network_system MIGRATION.md docs/advanced/MIGRATION.md
network_system UDP_SUPPORT.md docs/guides/UDP_SUPPORT.md

Duplicate Documents to Consolidate

Type Systems Action
CHANGELOG duplication network_system Keep docs/CHANGELOG.md only
FEATURES vs CAPABILITIES thread_system Merge into FEATURES.md
BASELINE.md location all Standardize to docs/performance/
BENCHMARKS.md duplication database_system Keep docs/BENCHMARKS.md only

Implementation Plan (How)

Phase 1: thread_system Cleanup

  • Move ARCHITECTURE_DIAGRAM.md to docs/
  • Merge THREAD_SYSTEM_CAPABILITIES_SUMMARY.md into docs/FEATURES.md
  • Delete EXPLORATION_SUMMARY.md
  • Consolidate docs/advanced/01-ARCHITECTURE.md, 02-API_REFERENCE.md

Phase 2: network_system Cleanup

  • Delete root CHANGELOG.md (keep docs/CHANGELOG.md)
  • Move BASELINE.md to docs/performance/
  • Move STRUCTURE.md to docs/ (merge with PROJECT_STRUCTURE)
  • Move MIGRATION.md to docs/advanced/
  • Move UDP_SUPPORT.md to docs/guides/

Phase 3: BASELINE.md Standardization (All Systems)

  • Ensure all BASELINE.md files are in docs/performance/
  • Update benchmarks/BASELINE.md to link to docs/performance/

Phase 4: Documentation Guidelines

  • Create DOCUMENTATION_GUIDELINES.md template
  • Apply consistent structure across all systems

Child Issues

Acceptance Criteria

  • No documentation files at root level (except README.md, README.kr.md)
  • No duplicate documents across systems
  • All systems follow standardized folder structure
  • Documentation navigation (docs/README.md) exists in all systems
  • BASELINE.md consistently in docs/performance/ across all systems
  • All cross-references updated to reflect new locations

Timeline (When)

  • Epic completion target: 2 sprints
  • Priority: Medium

Labels

  • documentation
  • enhancement
  • epic

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions