# Core concepts

The handful of ideas everything in Docsheaf is built on.

## Organization

Your team's home. An organization holds members, docs sites, knowledge bases, billing and
settings. You can belong to several and switch between them in the sidebar.

## Docs site

A published website made of one or more **spaces**. Each space is a **section** — a tab in the
site's header — and the first one is the site's home. A site has an address
(`<slug>.docsheaf.io` or your custom domain), an audience, a template and a theme.

A **knowledge base** is a site of its own kind: a help center with categories, articles and a home
page built around search. See [Knowledge bases](knowledge-bases).

**Collections** are folders that group sites in the app. Readers never see them.

## Space

The content of one section: a tree of pages with its own history, change requests and settings.
A space can also be a **variant** of another section — a version (`v2`, `v1`) or a language
(`English`, `Français`). See [Site structure](site-structure).

## Pages, groups and links

A space's tree holds three kinds of items:

| Kind | What it is |
| --- | --- |
| **Page** | A document: title, description, optional emoji and cover, and a body made of [blocks](blocks). Pages can nest. |
| **Group** | A heading in the table of contents that gathers pages. It has no body and adds nothing to URLs. |
| **Link** | An entry in the table of contents that opens another address. |

## Change request

A branch of a space where edits happen before they go live. In Docsheaf every edit starts in a
**draft** — a change request only you see until you open it — and **publishing** merges it into the
space. Others review it, comment on it and preview it as the published site would look. See
[Change requests](change-requests).

## Revision

An immutable snapshot of a space's whole tree. Docsheaf records one when a change request is
opened, on every merge, and every few minutes while a live space is edited. History lists them
and restores a single page or a whole version. See [Version history](version-history).

## Roles

Members have one role in the organization, ranked from least to most access:
**viewer → commenter → reviewer → editor → creator → admin**. Collections, sites and spaces can
give a member or a team more, or be restricted to the people given a role. See
[Members and permissions](members-and-permissions).

## Edit modes

A space is either **live** — editors publish their own drafts — or **locked** (**Require review for team members** in the space's settings) — only admins publish,
and everyone else submits drafts for review. Locked spaces are part of the Business plan.
