Skip to Content
Fumadocs

Static Build

Output static website with Fumadocs.

Setup

Astro outputs a static site by default (output: 'static'). Docs routes set export const prerender = true, so they stay static when you add an adapter for server output.

  1. Configure Search Server.
  2. Configure Search UI/Client.

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

Cloud Solutions

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

Deployment

The search API uses staticGET(), so the static output includes it.

See Astro Deployment for details.

How is this guide?

Last updated on