# inventree/inventree-docs architecture

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

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

## Overview

This repository is the archived InvenTree documentation site, not the inventory-management application itself. Its main user workflow is readers consulting documentation about using, configuring, extending, and integrating InvenTree; the README also describes serving the pages locally with MkDocs. The tree shows substantial topic collections, but the supplied source excerpts do not show how MkDocs assembles or publishes them, so those implementation links are omitted. The small `main.py` macro is included as a distinct documentation-site helper.

Main entry points: [`docs`](https://github.com/inventree/inventree-docs/tree/master/docs) (Documentation content), [`docs/app`](https://github.com/inventree/inventree-docs/tree/master/docs/app) (App guidance), [`docs/part`](https://github.com/inventree/inventree-docs/tree/master/docs/part) (Part management), [`docs/stock`](https://github.com/inventree/inventree-docs/tree/master/docs/stock) (Stock management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_usage["Using InvenTree"]
  node_app["App guidance"]
  node_parts["Part management"]
  node_stock["Stock management"]
  node_build["Build and BOM"]
  node_buy["Purchasing"]
  node_sell["Sales"]
  node_barcodes["Barcodes"]
end

subgraph group_operations["Operating InvenTree"]
  node_settings["Settings"]
  node_start["Installation and setup"]
end

subgraph group_extension["Extending InvenTree"]
  node_api["API guidance"]
  node_plugins["Plugin guidance"]
  node_reports["Report guidance"]
end

subgraph group_site["Documentation site"]
  node_documentation["Documentation content"]
  node_macro["Image-list macro<br/>[main.py]"]
end

node_reader(("Documentation reader"))

node_reader -->|"consults"| node_documentation
node_documentation -->|"covers"| node_app
node_documentation -->|"covers"| node_parts
node_documentation -->|"covers"| node_stock
node_documentation -->|"covers"| node_build
node_documentation -->|"covers"| node_buy
node_documentation -->|"covers"| node_sell
node_documentation -->|"covers"| node_barcodes
node_documentation -->|"covers"| node_settings
node_documentation -->|"covers"| node_start
node_documentation -->|"covers"| node_api
node_documentation -->|"covers"| node_plugins
node_documentation -->|"covers"| node_reports

click node_app "https://github.com/inventree/inventree-docs/tree/master/docs/app"
click node_parts "https://github.com/inventree/inventree-docs/tree/master/docs/part"
click node_stock "https://github.com/inventree/inventree-docs/tree/master/docs/stock"
click node_build "https://github.com/inventree/inventree-docs/tree/master/docs/build"
click node_buy "https://github.com/inventree/inventree-docs/tree/master/docs/buy"
click node_sell "https://github.com/inventree/inventree-docs/tree/master/docs/sell"
click node_barcodes "https://github.com/inventree/inventree-docs/tree/master/docs/barcodes"
click node_settings "https://github.com/inventree/inventree-docs/tree/master/docs/settings"
click node_start "https://github.com/inventree/inventree-docs/tree/master/docs/start"
click node_api "https://github.com/inventree/inventree-docs/tree/master/docs/api"
click node_plugins "https://github.com/inventree/inventree-docs/tree/master/docs/extend"
click node_reports "https://github.com/inventree/inventree-docs/tree/master/docs/report"
click node_documentation "https://github.com/inventree/inventree-docs/tree/master/docs"
click node_macro "https://github.com/inventree/inventree-docs/blob/master/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_app,node_parts,node_stock,node_build,node_buy,node_sell,node_barcodes toneBlue
class node_settings,node_start toneAmber
class node_api,node_plugins,node_reports toneMint
class node_documentation,node_macro toneRose
class node_reader toneIndigo
```

## Components

### Using InvenTree

- [App guidance](https://github.com/inventree/inventree-docs/tree/master/docs/app): `docs/app`
- [Part management](https://github.com/inventree/inventree-docs/tree/master/docs/part): `docs/part`
- [Stock management](https://github.com/inventree/inventree-docs/tree/master/docs/stock): `docs/stock`
- [Build and BOM](https://github.com/inventree/inventree-docs/tree/master/docs/build): `docs/build`
- [Purchasing](https://github.com/inventree/inventree-docs/tree/master/docs/buy): `docs/buy`
- [Sales](https://github.com/inventree/inventree-docs/tree/master/docs/sell): `docs/sell`
- [Barcodes](https://github.com/inventree/inventree-docs/tree/master/docs/barcodes): `docs/barcodes`

### Operating InvenTree

- [Settings](https://github.com/inventree/inventree-docs/tree/master/docs/settings): `docs/settings`
- [Installation and setup](https://github.com/inventree/inventree-docs/tree/master/docs/start): `docs/start`

### Extending InvenTree

- [API guidance](https://github.com/inventree/inventree-docs/tree/master/docs/api): `docs/api`
- [Plugin guidance](https://github.com/inventree/inventree-docs/tree/master/docs/extend): `docs/extend`
- [Report guidance](https://github.com/inventree/inventree-docs/tree/master/docs/report): `docs/report`

### Documentation site

- [Documentation content](https://github.com/inventree/inventree-docs/tree/master/docs): `docs`
- [Image-list macro](https://github.com/inventree/inventree-docs/blob/master/main.py): `main.py`

### Other components

- **Documentation reader**

## Connections

- Documentation reader → Documentation content: consults (evidence: `README.md`)
- Documentation content → App guidance: covers (evidence: `README.md`)
- Documentation content → Part management: covers (evidence: `README.md`)
- Documentation content → Stock management: covers (evidence: `README.md`)
- Documentation content → Build and BOM: covers (evidence: `README.md`)
- Documentation content → Purchasing: covers (evidence: `README.md`)
- Documentation content → Sales: covers (evidence: `README.md`)
- Documentation content → Barcodes: covers (evidence: `README.md`)
- Documentation content → Settings: covers (evidence: `README.md`)
- Documentation content → Installation and setup: covers (evidence: `README.md`)
- Documentation content → API guidance: covers (evidence: `README.md`)
- Documentation content → Plugin guidance: covers (evidence: `README.md`)
- Documentation content → Report guidance: covers (evidence: `README.md`)
