# mohammadtaqiadin/n8n-docs architecture

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

- Interactive diagram: https://gitdiagram.com/mohammadtaqiadin/n8n-docs
- Repository: https://github.com/mohammadtaqiadin/n8n-docs

## Overview

This is n8n’s documentation repository, not the workflow-automation runtime. Its main user journey is readers consulting the published docs to learn n8n features and usage. The repository tree exposes substantial topic areas, while README confirms the docs site; main.py adds build-time macros, including a template lookup against n8n’s API. The sampled sources do not show how the site routes or assembles these topic directories, so the graph avoids asserting those internal links.

Main entry points: [`main.py`](https://github.com/mohammadtaqiadin/n8n-docs/blob/main/main.py) (Docs macros), [`docs`](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs) (n8n docs site)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Documentation content"]
  node_docs["n8n docs site"]
  node_integrations["Integrations"]
  node_workflows["Workflow guides"]
  node_advanced_ai["Advanced AI"]
  node_data_guides["Data and flow logic"]
  node_api_guides["API reference"]
end

subgraph group_macros["Documentation macros"]
  node_macros["Docs macros<br/>[main.py]"]
end

subgraph group_governance["Operations and governance"]
  node_self_hosting["Self-hosting"]
  node_security["Privacy and security"]
  node_user_management["User management"]
  node_source_control["Source control"]
end

node_reader(("Documentation reader"))
node_template_api{{"n8n template API"}}

node_reader -->|"consults"| node_docs
node_macros -->|"fetches templates"| node_template_api

click node_docs "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs"
click node_integrations "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/integrations"
click node_workflows "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/workflows"
click node_advanced_ai "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/advanced-ai"
click node_data_guides "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/data"
click node_api_guides "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/api"
click node_security "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/privacy-security"
click node_user_management "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/user-management"
click node_source_control "https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/source-control-environments"
click node_macros "https://github.com/mohammadtaqiadin/n8n-docs/blob/main/main.py"

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_docs,node_integrations,node_workflows,node_advanced_ai,node_data_guides,node_api_guides toneBlue
class node_macros toneAmber
class node_self_hosting,node_security,node_user_management,node_source_control,node_template_api toneMint
class node_reader toneIndigo
```

## Components

### Documentation content

- [n8n docs site](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs): `docs`
- [Integrations](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/integrations): `docs/integrations`
- [Workflow guides](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/workflows): `docs/workflows`
- [Advanced AI](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/advanced-ai): `docs/advanced-ai`
- [Data and flow logic](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/data): `docs/data`
- [API reference](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/api): `docs/api`

### Documentation macros

- [Docs macros](https://github.com/mohammadtaqiadin/n8n-docs/blob/main/main.py): `main.py`

### Operations and governance

- **Self-hosting**
- [Privacy and security](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/privacy-security): `docs/privacy-security`
- [User management](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/user-management): `docs/user-management`
- [Source control](https://github.com/mohammadtaqiadin/n8n-docs/tree/main/docs/source-control-environments): `docs/source-control-environments`

### Other components

- **Documentation reader**
- **n8n template API**

## Connections

- Documentation reader → n8n docs site: consults (evidence: `README.md`)
- Docs macros → n8n template API: fetches templates (evidence: `main.py`)
