Files
sim/apps/docs/lib/source.ts
Waleed a45bb1bf3b fix(rce): add 'isolate' to list of trusted deps, fixed custom tools environment resolution (#2387)
* 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
2025-12-15 15:24:11 -08:00

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>