# Docs Preset

> Fumadocs components and nav helpers for DOT-driven sites.

Source: https://npm-factory.n.yatsyk.com/docs/docs-preset

# @npm-factory/docs-preset

Provides navigation helpers and shared UI components used by npm-factory documentation sites. Generated sites import this package automatically.

* **Stability:** beta
* **Platform:** React

## What it does

* **`createDocsNavFromDot(dot)`** — builds a Fumadocs-compatible navigation tree from your DOT config. Includes module overview, getting started, and (when `docs.apiDocs` is enabled) API and JSDoc pages.
* **UI components** — shared MDX components used across generated doc sites.

## Install

Already included in generated sites. To add manually:

```bash
pnpm add @npm-factory/docs-preset
```
