# rdegges/rdegges-www architecture

> Architecture diagram of the GitHub repository rdegges/rdegges-www, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rdegges/rdegges-www
- Repository: https://github.com/rdegges/rdegges-www

## Overview

##### Main Components Identification

a) Static Site Generator Layer
- Hugo (Core Engine)
- Content Processing
- Template Processing

b) Asset Management Layer
- Bower (Frontend Dependencies)
- Static Assets (CSS, Images)
- Bootswatch Themes

c) Content Management Layer
- Markdown Content Files
- Archetypes (Templates)
- Layout Templates

**[Content Sources] → [Build Process] → [Output/Deployment]**

##### Detailed Component Breakdown

**Content Layer**
- Content Repository (Markdown Files)
- Archetypes
- Static Assets
- Images
- CSS
- Bootswatch Themes

**Build Layer**
- Hugo Engine
- Template Processing
- Content Processing
- Bower
- Frontend Dependencies

**Output Layer**
- Static Website
- HTML Pages
- Processed Assets
- RSS Feeds

##### Implementation Details

Use these visual elements:

- Rounded rectangles for processes
- Hexagons for external dependencies
- Clear labels for each component

##### Additional Notes

Annotations for:
- Hugo's content processing workflow
- Theme customization process
- Development vs. Production builds
- Asset management strategy

Remember to highlight:
- The static nature of the final output
- The role of Hugo in transforming content
- The asset management strategy using Bower
- The custom theme implementation
- The separation of content from presentation

This will provide a comprehensive view of the system while maintaining clarity and usefulness for development and documentation purposes.

## Diagram (Mermaid)

```mermaid
%%{init: {'theme': 'dark'}}%%
graph TB
    subgraph Content
        CR["Content Repository"]:::content
        AT["Archetypes"]:::content
        SA["Static Assets"]:::assets
    end

    subgraph "Build Process"
        HE["Hugo Engine"]:::build
        TP["Template Processing"]:::process
        CP["Content Processing"]:::process
        BW["Bower"]:::tool
        FD["Frontend Dependencies"]:::assets
    end

    subgraph "Output Layer"
        SW["Static Website"]:::output
        HP["HTML Pages"]:::output
        PA["Processed Assets"]:::output
        RF["RSS Feeds"]:::output
    end

    subgraph "Development"
        LS["Local Server (1313)"]:::dev
        WM["Watch Mode"]:::dev
    end

    %% Content Layer Relationships
    CR --> CP
    AT --> CP
    SA --> PA

    %% Build Process Relationships
    CP --> SW
    TP --> SW
    BW --> FD
    FD --> PA

    %% Output Relationships
    SW --> HP
    SW --> PA
    SW --> RF

    %% Development Flow
    CP -.-> LS
    TP -.-> LS
    LS -.-> WM

    %% Component Mappings with Click Events
    click CR "https://github.com/rdegges/rdegges-www/tree/main/content/"
    click AT "https://github.com/rdegges/rdegges-www/tree/main/archetypes/"
    click SA "https://github.com/rdegges/rdegges-www/tree/main/static/static/"
    click FD "https://github.com/rdegges/rdegges-www/tree/main/static/static/components/"
    click RF "https://github.com/rdegges/rdegges-www/blob/main/layouts/_default/rss.xml"
    click TP "https://github.com/rdegges/rdegges-www/tree/main/layouts/_default/"
    click HP "https://github.com/rdegges/rdegges-www/blob/main/layouts/index.html"

    %% Styling
    classDef content fill:#a8d1ff,stroke:#fff
    classDef assets fill:#ffd7a8,stroke:#fff
    classDef build fill:#98ff98,stroke:#fff
    classDef process fill:#c8a8ff,stroke:#fff
    classDef tool fill:#ffa8a8,stroke:#fff
    classDef output fill:#ffffa8,stroke:#fff
    classDef dev fill:#a8ffff,stroke:#fff

    %% Legend
    subgraph Legend
        L1["Content Components"]:::content
        L2["Asset Components"]:::assets
        L3["Build Components"]:::build
        L4["Process Components"]:::process
        L5["Tool Components"]:::tool
        L6["Output Components"]:::output
        L7["Development Components"]:::dev
    end
```
