-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
"---Features---", | ||
"last-modified", | ||
"image", | ||
"manifest", | ||
"!transform" | ||
"manifest" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: Static Export | ||
description: 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. | ||
|
||
```js title="next.config.mjs" | ||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const nextConfig = { | ||
output: 'export', | ||
}; | ||
``` | ||
|
||
### Search | ||
|
||
The search functionality of Fumadocs rely on route handlers, which is not supported by static export. | ||
|
||
With the default search powered by Orama, you can build the search indexes statically following the [Orama Search](/docs/headless/search/orama#static-export) guide. | ||
This allows the route handler to be statically cached into a single file, and search will be computed on browser instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters