# joeltennant/jekyll-and-docker-compose architecture

> Architecture diagram of the GitHub repository joeltennant/jekyll-and-docker-compose, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/joeltennant/jekyll-and-docker-compose
- Repository: https://github.com/joeltennant/jekyll-and-docker-compose

## Overview

This repository is a Jekyll blog/portfolio theme packaged as a Docker Compose development sample. The principal workflow is that an editor changes site content or theme assets, starts the project with Compose, and views the regenerated site at localhost:4000. The tree separates pages, posts, portfolio entries, layouts, includes, styles and browser-side math rendering. The README documents the development workflow and theme; only js/main.js was sampled, so internal Jekyll wiring is not asserted beyond documented behavior.

Main entry points: [`docker-compose.yml`](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/docker-compose.yml) (Docker Compose), [`js/main.js`](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/js/main.js) (Math renderer), [`about.md`](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/about.md) (Pages), [`_posts`](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_posts) (Blog posts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Site content"]
  node_pages["Pages<br/>[about.md]"]
  node_posts["Blog posts"]
  node_portfolio["Portfolio entries"]
end

subgraph group_presentation["Theme presentation"]
  node_layouts["Page layouts"]
  node_includes["Theme includes"]
  node_styles["Theme styles"]
  node_main_styles["Style entry<br/>[main.scss]"]
  node_math_script["Math renderer<br/>[main.js]"]
end

subgraph group_runtime["Local site runtime"]
  node_compose["Docker Compose<br/>[docker-compose.yml]"]
  node_jekyll["Jekyll site"]
  node_served_site["Rendered site"]
end

node_editor(("Site editor"))
node_katex["KaTeX"]
node_visitor(("Site visitor"))

node_editor -->|"edits"| node_pages
node_editor -->|"edits"| node_posts
node_editor -->|"edits"| node_portfolio
node_editor -->|"starts"| node_compose
node_compose -->|"starts"| node_jekyll
node_jekyll -->|"serves"| node_served_site
node_visitor -->|"views"| node_served_site
node_math_script -->|"renders math with"| node_katex

click node_pages "https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/about.md"
click node_posts "https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_posts"
click node_portfolio "https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_portfolio"
click node_layouts "https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_layouts"
click node_includes "https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_includes"
click node_styles "https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_sass"
click node_main_styles "https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/css/main.scss"
click node_math_script "https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/js/main.js"
click node_compose "https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/docker-compose.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_pages,node_posts,node_portfolio toneBlue
class node_layouts,node_includes,node_styles,node_main_styles,node_math_script toneAmber
class node_compose,node_jekyll,node_served_site toneMint
class node_editor,node_katex,node_visitor toneIndigo
```

## Components

### Site content

- [Pages](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/about.md): `about.md`
- [Blog posts](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_posts): `_posts`
- [Portfolio entries](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_portfolio): `_portfolio`

### Theme presentation

- [Page layouts](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_layouts): `_layouts`
- [Theme includes](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_includes): `_includes`
- [Theme styles](https://github.com/joeltennant/jekyll-and-docker-compose/tree/master/_sass): `_sass`
- [Style entry](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/css/main.scss): `css/main.scss`
- [Math renderer](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/js/main.js): `js/main.js`

### Local site runtime

- [Docker Compose](https://github.com/joeltennant/jekyll-and-docker-compose/blob/master/docker-compose.yml): `docker-compose.yml`
- **Jekyll site**
- **Rendered site**

### Other components

- **Site editor**
- **KaTeX**
- **Site visitor**

## Connections

- Site editor → Pages: edits (evidence: `README.md`)
- Site editor → Blog posts: edits (evidence: `README.md`)
- Site editor → Portfolio entries: edits (evidence: `README.md`)
- Site editor → Docker Compose: starts (evidence: `README.md`)
- Docker Compose → Jekyll site: starts (evidence: `README.md`)
- Jekyll site → Rendered site: serves (evidence: `README.md`)
- Site visitor → Rendered site: views (evidence: `README.md`)
- Math renderer → KaTeX: renders math with (evidence: `js/main.js`)
