Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(docs): update docs page for API routes

Andrej Acevski78cdfb34caba
diff --git a/apps/docs/app/docs/[[...slug]]/page.tsx b/apps/docs/app/docs/[[...slug]]/page.tsx
index e7b730da6..fd1ec8d26 100644
--- a/apps/docs/app/docs/[[...slug]]/page.tsx
+++ b/apps/docs/app/docs/[[...slug]]/page.tsx
@@ -6,6 +6,7 @@ import { DocsPage } from "fumadocs-ui/page";
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { LLMCopyButton, ViewOptions } from "@/components/ai/page-actions";
+import { APIPage } from "@/components/api-page";
import {
HoverCard,
HoverCardContent,
@@ -51,6 +52,7 @@ export default async function Page(props: {
<Mdx
components={getMDXComponents({
Banner,
+ APIPage,
a: ({ href, ...props }) => {
const found = source.getPageByHref(href ?? "", {
dir: path.dirname(page.path),