Static Export
Enable static export with Fumadocs
Overview
Fumadocs is fully compatible with Next.js static export, allowing you to export the app as a static HTML site without a Node.js server.
See Next.js docs for limitations and details.
Search
Cloud Solutions
Since the search functionality is powered by remote servers, static export works without configuration.
Built-in Search
You need to:
-
Build the search indexes statically using
staticGET
. -
Enable static mode on search client from Root Provider:
app/layout.tsx
This allows the route handler to be statically cached into a single file, and search will be computed on browser instead.
How is this guide?