# Content structure

How sites, sections, groups and pages fit together — and how they become URLs.

```mermaid
flowchart LR
  O[Organization] --> S1[Docs site]
  O --> KB[Knowledge base]
  S1 --> A[Space · section 1 · home]
  S1 --> B[Space · section 2]
  A --> G[Group]
  G --> P1[Page]
  P1 --> P2[Sub-page]
  A --> L[Link]
```

## Sections

Each space of a site is a section: a tab in the published header. The first section is the home
and is served at the site root; the others live under their slug, like `/api` or `/changelog`.
Reorder or rename them in the site's **Settings → Spaces**. Sections with the same **section group**
label share one dropdown in the header.

## Groups

Groups are headings in the table of contents. Use them to gather related pages — "Getting started",
"Guides", "Reference". A group adds nothing to page URLs, so moving a page between groups keeps its
address. Select a group to rename it or give it an emoji, shown beside its heading.

## Pages

Pages hold your content. Each page has:

| Field | Purpose |
| --- | --- |
| Title | The page heading and its name in navigation. |
| Description | A one-line summary under the title, also used by search engines and link previews. |
| Emoji | An icon in the table of contents. |
| Cover | A wide image above the title. |
| Slug | The last part of its URL. Changing it redirects the old address automatically. |
| Hidden | Keeps the page out of navigation; it still opens by its URL. |
| No index | Keeps the page out of search engines, the sitemap and llms.txt, but not the site's own search. |

Pages nest: a page with sub-pages forms a path, so `/guides/deploy` is the `deploy` page under the
`guides` page.

## Links

A link item puts another address in the table of contents — your status page, a community forum,
a page of another site. Like pages, links can have an emoji.

## Moving things around

Drag pages, groups and links in the tree to reorder or nest them. Docsheaf remembers every page's
old address and redirects readers to the new one, so moving and renaming never breaks links. See
[Redirects](redirects).

{% hint style="info" %}
Knowledge bases follow a stricter shape — categories at the top, articles inside them. See
[Knowledge bases](knowledge-bases).
{% endhint %}
