> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goalgen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Navigation

> Define the sidebar and tabs in docs.json

The **`navigation`** object in **`docs.json`** defines which pages appear in the sidebar and how they are grouped. Pages are **not** discovered automatically from the filesystem.

## Tabs and groups

GoalGen uses **`navigation.tabs`**: each tab has a `tab` label and **`groups`**. Each group has a `group` name (sidebar section title) and **`pages`**: an array of paths to MDX files **without** the `.mdx` extension.

Example:

```json theme={null}
{
  "navigation": {
    "tabs": [
      {
        "tab": "Documentation",
        "groups": [
          {
            "group": "Creator Studio",
            "pages": [
              "creator-studio/overview",
              "creator-studio/content-library",
              "creator-studio/rbac"
            ]
          }
        ]
      }
    ]
  }
}
```

## File layout

Put MDX files in folders and use paths that match: `creator-studio/overview.mdx` → `"creator-studio/overview"` in `pages`.

MDX files **not** listed in `docs.json` will not appear in the sidebar, but they may still be reachable via search or direct URL depending on Mintlify settings.

## Global anchors

Links like Documentation / Community / Blog in the sidebar are configured under **`navigation.global.anchors`** (each entry uses `anchor`, `href`, and `icon`).

## Related

<CardGroup cols={2}>
  <Card title="Global settings" icon="gear" href="/essentials/settings">
    `docs.json` overview for this repo.
  </Card>

  <Card title="Site structure" icon="diagram-project" href="https://mintlify.com/docs/organize/settings-structure">
    Mintlify guide to navigation structure.
  </Card>
</CardGroup>
