# tegorman13/ccl architecture

> Architecture diagram of the GitHub repository tegorman13/ccl, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tegorman13/ccl
- Repository: https://github.com/tegorman13/ccl

## Overview

##### Main Components Identification
The project appears to be a Quarto-based documentation system with the following key components:

a) Content Layer
- Source Files (*.qmd files)
- Assets and Resources
- Bibliography and Citation files

b) Build/Generation Layer
- Quarto Processing System
- Multiple Output Formats (HTML, PDF, DOCX)

c) Static Site Layer
- Generated Documentation
- Web Assets
- Search Functionality

##### Important Relationships to Highlight
- Content flow from QMD to multiple outputs
- Asset processing pipeline
- Search index generation
- Style compilation process

##### Technical Details
- Quarto processing workflow
- Multiple format generation capabilities
- Search functionality implementation
- Style processing pipeline

##### Document style processing pipeline

This will provide a comprehensive view of how the documentation system processes content and generates multiple output formats while maintaining searchability and proper styling.

## Diagram (Mermaid)

```mermaid
graph TD
    subgraph "Content Layer"
        SourceContent["Source Content Files"]
        StyleRes["Style Resources"]
        BibSystem["Bibliography System"]
        Config["Build Configuration"]
    end

    subgraph "Processing Layer"
        QuartoBuild["Quarto Build System"]
        StyleProcessor["Style Processor"]
        SearchIndexer["Search Indexer"]
    end

    subgraph "Output Layer"
        GenDocs["Generated Documentation"]
        WebAssets["Web Assets"]
        StaticAssets["Static Assets"]
        SearchSystem["Search System"]
        SiteLibs["Site Libraries"]
        DiagramSupport["Diagram Support"]
    end

    SourceContent --> QuartoBuild
    StyleRes --> StyleProcessor
    BibSystem --> QuartoBuild
    Config --> QuartoBuild

    StyleProcessor --> QuartoBuild
    QuartoBuild --> GenDocs
    QuartoBuild --> SearchIndexer
    SearchIndexer --> SearchSystem

    GenDocs --> WebAssets
    StaticAssets --> WebAssets
    SiteLibs --> WebAssets
    DiagramSupport --> WebAssets
    SearchSystem --> WebAssets

    %% Component Mappings
    click SourceContent "https://github.com/tegorman13/ccl/blob/main//*.qmd"
    click StyleRes "https://github.com/tegorman13/ccl/tree/main//assets/Style"
    click BibSystem "https://github.com/tegorman13/ccl/blob/main//assets/ccl_bib.bib"
    click Config "https://github.com/tegorman13/ccl/blob/main//_quarto.yml"
    click GenDocs "https://github.com/tegorman13/ccl/tree/main//docs"
    click WebAssets "https://github.com/tegorman13/ccl/tree/main//docs/site_libs"
    click SearchSystem "https://github.com/tegorman13/ccl/tree/main//docs/site_libs/quarto-search"
    click StaticAssets "https://github.com/tegorman13/ccl/tree/main//docs/Assets"
    click SiteLibs "https://github.com/tegorman13/ccl/tree/main//docs/site_libs/quarto-html"
    click DiagramSupport "https://github.com/tegorman13/ccl/tree/main//docs/site_libs/quarto-diagram"

    classDef content fill:#a8d1ff,stroke:#333,stroke-width:2px
    classDef processing fill:#90EE90,stroke:#333,stroke-width:2px
    classDef output fill:#FFB347,stroke:#333,stroke-width:2px

    class SourceContent,StyleRes,BibSystem,Config content
    class QuartoBuild,StyleProcessor,SearchIndexer processing
    class GenDocs,WebAssets,StaticAssets,SearchSystem,SiteLibs,DiagramSupport output
```
