Static Export
Enable static export with Fumadocs
We use cookies
Essential cookies keep the app working. Optional analytics, support, and marketing cookies help us improve the site and services. Cookie Policy.
Since the search functionality is powered by remote servers, static export works without configuration.
The default search config of Orama Search uses route handlers, which is not supported by static export.
Instead, you can build the search indexes statically following the Orama Search guide. And enable static mode on search client from Root Provider:
import { RootProvider } from 'fumadocs-ui/provider';
import type { ReactNode } from 'react';
This allows the route handler to be statically cached into a single file, and search will be computed on browser instead.