# Fumadocs (Framework Mode, Waku): Static Build
URL: /docs/waku/deploying/static
Source: https://raw.githubusercontent.com/fuma-nama/fumadocs/refs/heads/main/apps/docs/content/docs/(framework)/[framework]/deploying/static.mdx

Output static website with Fumadocs.

## Setup [#setup]

By default, Fumadocs uses a server-first approach, which requires a running server.
You can output a static build by configuring Waku.

A static build has no server, so these features don't work:

- The search server. Use [static search](#search) instead.
- [Ask AI](/docs/waku/integrations/llms#ask-ai), whose chat route calls the AI model.
- The [MCP server](/docs/waku/integrations/llms#mcp-server).

Middleware doesn't run either, so pages don't serve [Markdown for the `Accept` header](/docs/waku/integrations/llms#accept).

### Search [step] [#search]

#### Built-in Search [#built-in-search]

1. [Configure Search Server](/docs/headless/search/orama#static-export).
2. [Configure Search UI/Client](/docs/waku/search/orama#static).

After the configurations, your app will statically store the search indexes, and search will be computed on browser instead.

#### Cloud Solutions [#cloud-solutions]

Since the search functionality is powered by remote servers, static export works without configuration.

### Deployment [step] [#deployment]

Waku can serve your site statically when all pages are configured with `static` render mode.

See [Deployment](https://waku.gg/#deployment) for details.