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

# Local development

> Run the Mintlify dev server to preview documentation before you push.

## Mint CLI

From the `mintlify-docs` directory (where `docs.json` lives), install the [Mint CLI](https://www.npmjs.com/package/mint) and start the preview server:

```bash theme={null}
npm i -g mint
cd mintlify-docs
mint dev
```

Open **[http://localhost:3000](http://localhost:3000)** (default).

## Navigation integrity

Every slug listed under **`navigation`** in **`docs.json`** must have a sibling **`{slug}.mdx`** file in this directory. From the repository root, CI runs:

```bash theme={null}
python3 mintlify-docs/scripts/verify_mintlify_nav.py
```

…so a partial merge cannot leave **`docs.json`** pointing at missing pages.
