mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
* fix(rce): add isolate to list of trusted deps * updated error enchancer in RCE * fixed * fix build * fix failing test * fix build * fix build * remove extraneous comment
21 lines
528 B
TypeScript
21 lines
528 B
TypeScript
import { type InferPageType, loader } from 'fumadocs-core/source'
|
|
import type { DocData, DocMethods } from 'fumadocs-mdx/runtime/types'
|
|
import { docs } from '@/.source/server'
|
|
import { i18n } from './i18n'
|
|
|
|
export const source = loader({
|
|
baseUrl: '/',
|
|
source: docs.toFumadocsSource(),
|
|
i18n,
|
|
})
|
|
|
|
/** Full page data type including MDX content and metadata */
|
|
export type PageData = DocData &
|
|
DocMethods & {
|
|
title: string
|
|
description?: string
|
|
full?: boolean
|
|
}
|
|
|
|
export type Page = InferPageType<typeof source>
|