# rocketchat/docs architecture

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

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

## Overview

#### Purpose and Status
This is a **retired Rocket.Chat documentation repository**, not the Rocket.Chat application. It stores GitBook-compatible Markdown content covering product use, deployment, configuration, legal material, security, and integrations. `README.md` directs contributors to the replacement documentation process.

#### Documentation Entry and Navigation
GitBook configuration and the summary define the documentation site’s entry/navigation surface:
- `.gitbook.yaml`
- `SUMMARY.md`
- `readme/our-plans.md`

`SUMMARY.md` is the content-routing backbone: it organizes Markdown pages into user, administrator, deployment, customer, legal, and resource domains. `bookignore` excludes non-published material.

#### Core Product Documentation Domains
The main content flow is from workspace setup into daily product operation and administration:
- Setup/configuration: `setup-and-configure/accessing-your-workspace/README.md`, `setup-and-configure/environment-configuration/README.md`
- End-user collaboration: `use-rocket.chat/user-guides/README.md`, `use-rocket.chat/user-guides/rooms/README.md`
- Administrative controls: `use-rocket.chat/workspace-administration/README.md`, `use-rocket.chat/user-management/README.md`
- Customer/support material: `customer-center/support-center/README.md`, `customer-center/security-center/README.md`

These are documentation boundaries rather than executable modules; pages describe the behavior of external Rocket.Chat server and client products.

#### Deployment and Runtime Boundary
Deployment guidance describes Rocket.Chat’s supported operating environments, separating infrastructure choices from workspace configuration:
- `deploy/deploy-rocket.chat/README.md`
- `deploy/deploy-rocket.chat/deploy-with-docker-and-docker-compose.md`
- `deploy/deploy-rocket.chat/deploy-with-kubernetes.md`

Material referenced runtimes/infrastructure include Node.js, MongoDB, Docker/Compose, Kubernetes, AWS, reverse proxies/SSL, and horizontal/multi-instance scaling. MongoDB operational requirements and migrations are centralized under `setup-and-configure/environment-configuration/mongodb-configuration/README.md`.

#### Identity, Security, and Compliance
Authentication documentation marks the boundary between Rocket.Chat and enterprise identity providers:
- `use-rocket.chat/authentication/README.md`
- `use-rocket.chat/authentication/oauth/README.md`
- `use-rocket.chat/authentication/saml/README.md`

Security and regulatory guidance cover encryption, security advisories, privacy, and compliance:
- `customer-center/security-center/end-to-end-encryption-specifications.md`
- `customer-center/security-center/security-fixes-and-updates/rocket.chat-security-advisories.md`
- `customer-center/legal-center/privacy-policy/README.md`

#### Extension and External-Service Integrations
Marketplace Apps and integrations connect Rocket.Chat to third-party collaboration, CRM, messaging, conferencing, and automation services:
- `extend-rocket.chat-capabilities/rocket.chat-marketplace/README.md`
- `use-rocket.chat/workspace-administration/integrations/README.md`
- `use-rocket.chat/omnichannel/README.md`

Documented external systems include GitHub, Google services, Microsoft Teams, WhatsApp, Telegram, Salesforce, HubSpot, Dialogflow, Zoom, Jitsi, BigBlueButton, Matrix, and PBX/Asterisk. Omnichannel documentation models inbound channels, routing/queues, agents, departments, monitoring, and reporting.

#### Publication Automation
The only executable repository logic is a Node.js script pipeline that generates version-table/image content, invoked by GitHub Actions:
- `.github/workflows/versions-table.yml`
- `.scripts/table-version.mjs`
- `.scripts/generateVersionImage.mjs`

This automation is isolated from documentation content and does not implement Rocket.Chat runtime behavior.

Main entry points: [`SUMMARY.md`](https://github.com/rocketchat/docs/blob/main/SUMMARY.md) (Content navigation), [`use-rocket.chat/workspace-administration/README.md`](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/workspace-administration/README.md) (Workspace administration), [`use-rocket.chat/authentication/README.md`](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/README.md) (Enterprise authentication), [`deploy/deploy-rocket.chat/README.md`](https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/README.md) (Deployment overview)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_publication["Publication surface"]
  node_gitbook["GitBook configuration<br/>site config<br/>[.gitbook.yaml]"]
  node_summary["Content navigation<br/>SUMMARY index<br/>[SUMMARY.md]"]
  node_plans["Repository retirement notice<br/>landing page<br/>[our-plans.md]"]
end

subgraph group_content["Documentation domains"]
  node_workspace_setup["Workspace access<br/>setup docs<br/>[README.md]"]
  node_environment["Environment configuration<br/>configuration docs<br/>[README.md]"]
  node_user_guides["User collaboration<br/>user docs<br/>[README.md]"]
  node_rooms["Rooms<br/>user guide<br/>[README.md]"]
  node_administration["Workspace administration<br/>admin docs<br/>[README.md]"]
  node_user_management["User management<br/>admin docs<br/>[README.md]"]
  node_authentication["Enterprise authentication<br/>identity docs<br/>[README.md]"]
  node_oauth["OAuth<br/>identity protocol docs<br/>[README.md]"]
  node_saml["SAML<br/>identity protocol docs<br/>[README.md]"]
  node_integrations["Integrations<br/>integration docs<br/>[README.md]"]
  node_omnichannel["Omnichannel<br/>service-channel docs<br/>[README.md]"]
  node_security["Security center<br/>security docs<br/>[README.md]"]
end

subgraph group_deployment["Deployment guidance"]
  node_deployment_docs["Deployment overview<br/>deployment docs<br/>[README.md]"]
  node_docker["Docker and Compose<br/>deployment target"]
  node_kubernetes["Kubernetes<br/>deployment target"]
  node_mongodb[("MongoDB operations<br/>database guidance<br/>[README.md]")]
end

subgraph group_automation["Publication automation"]
  node_workflow{{"Version-table workflow<br/>GitHub Actions workflow<br/>[versions-table.yml]"}}
  node_version_table["Version table generator<br/>Node.js script<br/>[table-version.mjs]"]
  node_version_image["Version image generator<br/>Node.js script"]
end

node_gitbook -->|"publishes navigation"| node_summary
node_summary -->|"links"| node_plans
node_summary -->|"indexes"| node_workspace_setup
node_summary -->|"indexes"| node_user_guides
node_summary -->|"indexes"| node_administration
node_summary -->|"indexes"| node_authentication
node_summary -->|"indexes"| node_deployment_docs
node_summary -->|"indexes"| node_security
node_workspace_setup -->|"configuration path"| node_environment
node_user_guides -->|"contains"| node_rooms
node_administration -->|"admin scope"| node_user_management
node_administration -->|"administers"| node_integrations
node_integrations -->|"external channels"| node_omnichannel
node_authentication -->|"documents"| node_oauth
node_authentication -->|"documents"| node_saml
node_environment -->|"operational guidance"| node_mongodb
node_deployment_docs -->|"deployment option"| node_docker
node_deployment_docs -->|"deployment option"| node_kubernetes
node_workflow -->|"invokes"| node_version_table
node_version_table -->|"generates image content"| node_version_image

click node_gitbook "https://github.com/rocketchat/docs/blob/main/.gitbook.yaml"
click node_summary "https://github.com/rocketchat/docs/blob/main/SUMMARY.md"
click node_plans "https://github.com/rocketchat/docs/blob/main/readme/our-plans.md"
click node_workspace_setup "https://github.com/rocketchat/docs/blob/main/setup-and-configure/accessing-your-workspace/README.md"
click node_environment "https://github.com/rocketchat/docs/blob/main/setup-and-configure/environment-configuration/README.md"
click node_user_guides "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-guides/README.md"
click node_rooms "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-guides/rooms/README.md"
click node_administration "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/workspace-administration/README.md"
click node_user_management "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-management/README.md"
click node_authentication "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/README.md"
click node_oauth "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/oauth/README.md"
click node_saml "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/saml/README.md"
click node_integrations "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/workspace-administration/integrations/README.md"
click node_omnichannel "https://github.com/rocketchat/docs/blob/main/use-rocket.chat/omnichannel/README.md"
click node_security "https://github.com/rocketchat/docs/blob/main/customer-center/security-center/README.md"
click node_deployment_docs "https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/README.md"
click node_docker "https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/deploy-with-docker-and-docker-compose.md"
click node_kubernetes "https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/deploy-with-kubernetes.md"
click node_mongodb "https://github.com/rocketchat/docs/blob/main/setup-and-configure/environment-configuration/mongodb-configuration/README.md"
click node_workflow "https://github.com/rocketchat/docs/blob/main/.github/workflows/versions-table.yml"
click node_version_table "https://github.com/rocketchat/docs/blob/main/.scripts/table-version.mjs"
click node_version_image "https://github.com/rocketchat/docs/blob/main/.scripts/generateVersionImage.mjs"

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_gitbook,node_summary,node_plans toneBlue
class node_workspace_setup,node_environment,node_user_guides,node_rooms,node_administration,node_user_management,node_authentication,node_oauth,node_saml,node_integrations,node_omnichannel,node_security toneAmber
class node_deployment_docs,node_docker,node_kubernetes,node_mongodb toneMint
class node_workflow,node_version_table,node_version_image toneRose
```

## Components

### Publication surface

- [GitBook configuration](https://github.com/rocketchat/docs/blob/main/.gitbook.yaml): site config · `.gitbook.yaml`
- [Content navigation](https://github.com/rocketchat/docs/blob/main/SUMMARY.md): SUMMARY index · Routes the published documentation hierarchy. · `SUMMARY.md`
- [Repository retirement notice](https://github.com/rocketchat/docs/blob/main/readme/our-plans.md): landing page · Directs contributors to the replacement process. · `readme/our-plans.md`

### Documentation domains

- [Workspace access](https://github.com/rocketchat/docs/blob/main/setup-and-configure/accessing-your-workspace/README.md): setup docs · `setup-and-configure/accessing-your-workspace/README.md`
- [Environment configuration](https://github.com/rocketchat/docs/blob/main/setup-and-configure/environment-configuration/README.md): configuration docs · `setup-and-configure/environment-configuration/README.md`
- [User collaboration](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-guides/README.md): user docs · `use-rocket.chat/user-guides/README.md`
- [Rooms](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-guides/rooms/README.md): user guide · `use-rocket.chat/user-guides/rooms/README.md`
- [Workspace administration](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/workspace-administration/README.md): admin docs · `use-rocket.chat/workspace-administration/README.md`
- [User management](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/user-management/README.md): admin docs · `use-rocket.chat/user-management/README.md`
- [Enterprise authentication](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/README.md): identity docs · `use-rocket.chat/authentication/README.md`
- [OAuth](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/oauth/README.md): identity protocol docs · `use-rocket.chat/authentication/oauth/README.md`
- [SAML](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/authentication/saml/README.md): identity protocol docs · `use-rocket.chat/authentication/saml/README.md`
- [Integrations](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/workspace-administration/integrations/README.md): integration docs · `use-rocket.chat/workspace-administration/integrations/README.md`
- [Omnichannel](https://github.com/rocketchat/docs/blob/main/use-rocket.chat/omnichannel/README.md): service-channel docs · Covers inbound routing, queues, agents, and reporting. · `use-rocket.chat/omnichannel/README.md`
- [Security center](https://github.com/rocketchat/docs/blob/main/customer-center/security-center/README.md): security docs · `customer-center/security-center/README.md`

### Deployment guidance

- [Deployment overview](https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/README.md): deployment docs · `deploy/deploy-rocket.chat/README.md`
- [Docker and Compose](https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/deploy-with-docker-and-docker-compose.md): deployment target · `deploy/deploy-rocket.chat/deploy-with-docker-and-docker-compose.md`
- [Kubernetes](https://github.com/rocketchat/docs/blob/main/deploy/deploy-rocket.chat/deploy-with-kubernetes.md): deployment target · `deploy/deploy-rocket.chat/deploy-with-kubernetes.md`
- [MongoDB operations](https://github.com/rocketchat/docs/blob/main/setup-and-configure/environment-configuration/mongodb-configuration/README.md): database guidance · Centralizes operational requirements and migrations. · `setup-and-configure/environment-configuration/mongodb-configuration/README.md`

### Publication automation

- [Version-table workflow](https://github.com/rocketchat/docs/blob/main/.github/workflows/versions-table.yml): GitHub Actions workflow · `.github/workflows/versions-table.yml`
- [Version table generator](https://github.com/rocketchat/docs/blob/main/.scripts/table-version.mjs): Node.js script · `.scripts/table-version.mjs`
- [Version image generator](https://github.com/rocketchat/docs/blob/main/.scripts/generateVersionImage.mjs): Node.js script · `.scripts/generateVersionImage.mjs`

## Connections

- GitBook configuration → Content navigation: publishes navigation
- Content navigation → Repository retirement notice: links
- Content navigation → Workspace access: indexes
- Content navigation → User collaboration: indexes
- Content navigation → Workspace administration: indexes
- Content navigation → Enterprise authentication: indexes
- Content navigation → Deployment overview: indexes
- Content navigation → Security center: indexes
- Workspace access → Environment configuration: configuration path
- User collaboration → Rooms: contains
- Workspace administration → User management: admin scope
- Workspace administration → Integrations: administers
- Integrations → Omnichannel: external channels
- Enterprise authentication → OAuth: documents
- Enterprise authentication → SAML: documents
- Environment configuration → MongoDB operations: operational guidance
- Deployment overview → Docker and Compose: deployment option
- Deployment overview → Kubernetes: deployment option
- Version-table workflow → Version table generator: invokes
- Version table generator → Version image generator: generates image content
