Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

327 B
Raw Blame
import { DocsShell } from '@/components/docs/docs-shell';
import { getApiReferenceSource } from '@/lib/openapi';

export default async function Layout({
  children,
}: {
  children: React.ReactNode;
}) {
  const apiSource = await getApiReferenceSource();
  return <DocsShell tree={apiSource.pageTree}>{children}</DocsShell>;
}