Skip to content
Discussion options

You must be logged in to vote

It seems I didn't read quite close enough. But if anyone has the same issue in the future, the answer's at https://fumadocs.dev/docs/ui/navigation/links#docs-layout

import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import { baseOptions } from '@/lib/layout.shared';
import { source } from '@/lib/source';
import type { ReactNode } from 'react';

export default function Layout({ children }: { children: ReactNode }) {
  return (
    <DocsLayout
      {...baseOptions()}
      tree={source.pageTree}
      links={[]}
    >
      {children}
    </DocsLayout>
  );
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kapios010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant