033bedde0a
Upgrade from NX18 to NX21
12 lines
490 B
TypeScript
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>;
|
|
}
|