mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-10-03 11:19:08 +02:00
port mintlify to fumadocs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { createFromSource } from 'fumadocs-core/search/server';
|
||||
import { source } from './source';
|
||||
|
||||
/**
|
||||
* One full-text index (Orama) shared by the search dialog (`/api/search`) and the
|
||||
* AI assistant's `search_docs` tool.
|
||||
*/
|
||||
export const searchServer = createFromSource(source, {
|
||||
language: 'english',
|
||||
});
|
||||
Reference in New Issue
Block a user