Skip to content

Commit 71f6164

Browse files
committed
fix agent-docs build
1 parent 492d8f0 commit 71f6164

File tree

3 files changed

+23
-28
lines changed

3 files changed

+23
-28
lines changed

agents-docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
"@theguild/remark-mermaid": "^0.3.0",
3434
"class-variance-authority": "^0.7.1",
3535
"clsx": "^2.1.1",
36-
"fumadocs-core": "^16.1.0",
36+
"fumadocs-core": "^16.4.4",
3737
"fumadocs-mdx": "^14.0.3",
3838
"fumadocs-openapi": "^10.0.11",
3939
"fumadocs-typescript": "^4.0.13",
40-
"fumadocs-ui": "^16.1.0",
40+
"fumadocs-ui": "^16.4.4",
4141
"hast-util-to-jsx-runtime": "^2.3.6",
4242
"llm-info": "^1.0.69",
4343
"lucide-react": "^0.503.0",

agents-docs/src/app/[[...slug]]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { a } from '@inkeep/docskit';
2+
import type { LoaderConfig, LoaderOutput } from 'fumadocs-core/source';
23
import { createRelativeLink } from 'fumadocs-ui/mdx';
34
import { DocsBody, DocsPage, DocsTitle } from 'fumadocs-ui/page';
45
import { notFound } from 'next/navigation';
@@ -42,7 +43,8 @@ export default async function Page(props: PageProps<'/[[...slug]]'>) {
4243
<MDXContent
4344
components={getMDXComponents({
4445
// this allows you to link to other pages with relative file paths
45-
a: createRelativeLink(source, page, a),
46+
// TODO: Remove cast when fumadocs releases fix from commit d743dc7
47+
a: createRelativeLink(source as unknown as LoaderOutput<LoaderConfig>, page, a),
4648
})}
4749
/>
4850
</DocsBody>

pnpm-lock.yaml

Lines changed: 18 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)