feat: work on displaying doc structure in sidebar

This commit is contained in:
Stevan Freeborn
2023-04-09 00:24:42 -05:00
parent 52416307ee
commit 34e1c68a2f
12 changed files with 220 additions and 5 deletions
+34
View File
@@ -0,0 +1,34 @@
import { DocsStructure } from '@/app/types/types';
export const versionTwo: DocsStructure[] = [
{
title: 'Introduction',
folder: 'introduction',
copy: 'copy.md',
example: 'example.md',
children: [
{
title: 'What is this?',
folder: 'what-is-this',
copy: 'copy.md',
example: 'example.md',
children: [],
},
],
},
{
title: 'Authentication',
folder: 'authentication',
copy: 'copy.md',
example: 'example.md',
children: [
{
title: 'Login',
folder: 'login',
copy: 'copy.md',
example: 'example.md',
children: [],
},
],
},
];