File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33export const maxDuration = 30 ;
44
5- export { POST } from "@/lib/chat/gemma/serverWithSearchTool " ;
5+ export { POST } from "@/lib/chat/gemma/serverWithLinksTool " ;
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import {
1111import type { Metadata } from "next" ;
1212import { notFound } from "next/navigation" ;
1313import { MarkdownCopyButton , ViewOptionsPopover } from "@/components/ai/page-actions" ;
14- import { getMDXComponents } from "@/components/common" ;
1514import { EditOnGithub } from "@/components/common/EditOnGithub" ;
15+ import { getMDXComponents } from "@/components/common/MdxComponents" ;
1616import { HoverCard } from "@/components/ui" ;
1717import { repoName , repoOwner } from "@/lib/github" ;
1818import { createMetadata , defaultDescription } from "@/lib/metadata" ;
@@ -54,7 +54,9 @@ async function Page({ params }: PageProps<"/docs/[[...slug]]">) {
5454 < MDX
5555 components = { getMDXComponents ( {
5656 ...Twoslash ,
57- a : ( { children, href, ...restOfProps } ) => {
57+ a : ( innerProps ) => {
58+ const { children, href, ...restOfProps } = innerProps ;
59+
5860 const foundPage = source . getPageByHref ( href ?? "" , {
5961 dir : PathUtils . dirname ( page . path ) ,
6062 } ) ;
Original file line number Diff line number Diff line change 11export { IconBox } from "./IconBox" ;
22export { Slot } from "./slot" ;
3- export { getMDXComponents } from "./MdxComponents" ;
Original file line number Diff line number Diff line change 150150 font-family: var(--font-jetbrains-mono);
151151 } */
152152
153- /* body {
154- font-family: var(--font-geist-sans);
153+ body {
154+ /* font-family: var(--font-geist-sans); */
155155 line-height : 1.5 ;
156- } */
156+ }
157157}
You can’t perform that action at this time.
0 commit comments