Files
twenty/packages/twenty-website/src/app/(public)/developers/layout.tsx
T
Félix Malfait 033bedde0a Upgrade NX (#13758)
Upgrade from NX18 to NX21
2025-08-08 10:38:12 +02:00

12 lines
490 B
TypeScript

import { type ReactNode } from 'react';
import { DocsMainLayout } from '@/app/_components/docs/DocsMainLayout';
import { getDocsArticles } from '@/content/user-guide/constants/getDocsArticles';
export default function DocsLayout({ children }: { children: ReactNode }) {
const filePath = 'src/content/developers/';
const getAllArticles = true;
const docsIndex = getDocsArticles(filePath, getAllArticles);
return <DocsMainLayout docsIndex={docsIndex}>{children}</DocsMainLayout>;
}