How theo-hafsaoui/anemon works
External Layer (Adapters)
• Input Adapters:
• CLI Interface
• Markdown Tree Reader
• YAML Configuration Reader
• Output Adapters:
• LaTeX Writer
• PDF Compiler
Core Layer
• CV Generation Logic
• Port Interfaces
File System Integration
• CV Content (Markdown files)
• Configuration (params.yml)
• LaTeX Templates
Component Relationships
• CLI → Input Adapters → Core → Output Adapters → PDF Output
Detailed Elements
a. Input Side:
• CLI Interface (main entry point)
• Markdown Parser (reads CV content)
• YAML Parser (reads configuration)
b. Core:
• Generation Logic
• Port Interfaces
• CV Data Models
c. Output Side:
• LaTeX Template Engine
• PDF Compilation System
Infrastructure Layer
• GitHub Actions Workflow
• Docker Container
• File System Storage
Important Considerations:
Hexagonal Architecture
• Clear boundaries between layers
• Dependency direction (always pointing inward)
• Interface ports clearly
Multi-language Support
• How different language versions are handled
• Relationship between language-specific content and the core
Variant Processing
• Keyword emphasis mechanism
• How content filtering works
Build Process
• CI/CD pipeline flow
• Docker container boundaries
Both runtime and build-time relationships
Remember to maintain a balance between:
• Showing the hexagonal architecture pattern
• Illustrating the practical CV generation flow
• Depicting infrastructure components
This will provide a comprehensive view of how Anemon transforms markdown content into formatted PDFs while maintaining clean architecture principles.