# sudharsun-dev/tourist architecture

> Architecture diagram of the GitHub repository sudharsun-dev/tourist, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sudharsun-dev/tourist
- Repository: https://github.com/sudharsun-dev/tourist

## Overview

CP-DSA is a Jekyll-powered website for a collection of competitive-programming and DSA problems. The principal author workflow is to add a Markdown problem under `problems/` and assign it the `problem` layout; visitors then explore the published collection. The graph focuses on those documented content stages and the landing page. Source excerpts are limited to the Gemfile, so relationships involving templates, styling, and deployment are omitted rather than inferred from filenames.

Main entry points: [`problems`](https://github.com/sudharsun-dev/tourist/tree/main/problems) (Problem Markdown), [`_layouts/problem.html`](https://github.com/sudharsun-dev/tourist/blob/main/_layouts/problem.html) (Problem layout), [`index.md`](https://github.com/sudharsun-dev/tourist/blob/main/index.md) (Landing page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Problem content"]
  node_problem_files["Problem Markdown"]
end

subgraph group_site["Website pages"]
  node_problem_layout["Problem layout<br/>[problem.html]"]
  node_landing_page["Landing page<br/>[index.md]"]
end

node_author(("Problem author"))
node_visitor(("Website visitor"))

node_author -->|"adds problems"| node_problem_files
node_problem_files -->|"selects layout"| node_problem_layout
node_visitor -->|"explores site"| node_landing_page

click node_problem_files "https://github.com/sudharsun-dev/tourist/tree/main/problems"
click node_problem_layout "https://github.com/sudharsun-dev/tourist/blob/main/_layouts/problem.html"
click node_landing_page "https://github.com/sudharsun-dev/tourist/blob/main/index.md"

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_problem_files toneBlue
class node_problem_layout,node_landing_page toneAmber
class node_author,node_visitor toneIndigo
```

## Components

### Problem content

- [Problem Markdown](https://github.com/sudharsun-dev/tourist/tree/main/problems): `problems`

### Website pages

- [Problem layout](https://github.com/sudharsun-dev/tourist/blob/main/_layouts/problem.html): `_layouts/problem.html`
- [Landing page](https://github.com/sudharsun-dev/tourist/blob/main/index.md): `index.md`

### Other components

- **Problem author**
- **Website visitor**

## Connections

- Problem author → Problem Markdown: adds problems (evidence: `README.md`)
- Problem Markdown → Problem layout: selects layout (evidence: `README.md`)
- Website visitor → Landing page: explores site (evidence: `README.md`)
