Skip to content

Commit

Permalink
Automatically generate demos
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira committed May 15, 2024
1 parent 6449ab9 commit 9465e74
Show file tree
Hide file tree
Showing 10 changed files with 754 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<AppProvider navigation={NAVIGATION}>
<DashboardLayout>
<Box
sx={{
py: 4,
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<Typography>Dashboard content goes here.</Typography>
</Box>
</DashboardLayout>
</AppProvider>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<AppProvider navigation={NAVIGATION} branding={BRANDING}>
<DashboardLayout>
<Box
sx={{
py: 4,
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<Typography>Dashboard content goes here.</Typography>
</Box>
</DashboardLayout>
</AppProvider>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<AppProvider navigation={NAVIGATION}>
<DashboardLayout>
<Box
sx={{
py: 4,
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<Typography>Dashboard content goes here.</Typography>
</Box>
</DashboardLayout>
</AppProvider>
150 changes: 150 additions & 0 deletions docs/data/toolpad/core/pages.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
const pages = [
{
pathname: '/toolpad/core/intro-group',
title: 'Introduction',
children: [
{
pathname: '/toolpad/core/introduction',
title: 'Overview',
},
{
pathname: '/toolpad/core/introduction/installation',
title: 'Installation',
},
{
pathname: '/toolpad/core/introduction/tutorial',
title: 'Tutorial',
},
{
pathname: '/toolpad/core/introduction/examples',
title: 'Examples',
},
{
pathname: '/toolpad/core/introduction/build-deploy',
title: 'Build and Deploy',
},
{
pathname: '/toolpad/core/introduction/roadmap',
title: 'Roadmap',
},
{
pathname: '/toolpad/core/introduction/support',
title: 'Support',
},
{
pathname: '/toolpad/core/features-group',
subheader: 'Features',
children: [
{
pathname: '/toolpad/core/features/authentication',
title: 'Authentication',
},
{
pathname: '/toolpad/core/features/data-providers',
title: 'Data Providers',
},
{
pathname: '/toolpad/core/features/audit-logs',
title: 'Audit Logs',
plan: 'pro',
},
],
},
],
},
{
pathname: '/toolpad/core/components-group',
title: 'Components',
children: [
{ pathname: '/toolpad/core/components', title: 'All components' },
{
pathname: '/toolpad/core/components/layout-group',
subheader: 'Layout',
children: [
{
pathname: '/toolpad/core/components/dashboard-layout',
title: 'Dashboard Layout',
},
],
},
{
pathname: '/toolpad/core/components/data-group',
subheader: 'Data',
children: [
{
pathname: '/toolpad/core/components/data-grid',
title: 'Data Grid',
},
{
pathname: '/toolpad/core/components/line-chart',
title: 'Line Chart',
},
],
},
{
pathname: '/toolpad/core/components/filter-group',
subheader: 'Filters',
children: [
{
pathname: '/toolpad/core/components/select-filter',
title: 'Select',
},
],
},
],
},
{
pathname: '/toolpad/core/api-group',
title: 'API',
children: [
{
pathname: '/toolpad/core/api',
title: 'Index',
},
{
pathname: '/toolpad/core/api/components-group',
subheader: 'Components',
children: [
{
pathname: '/toolpad/core/api/dashboard-layout',
title: 'DashboardLayout',
},
{
pathname: '/toolpad/core/api/data-grid',
title: 'Data Grid',
},
{
pathname: '/toolpad/core/api/line-chart',
title: 'Line Chart',
},
],
},
{
pathname: '/toolpad/core/api/filters-group',
subheader: 'Filters',
children: [
{
pathname: '/toolpad/core/api/select-filter',
title: 'Select',
},
],
},
{
pathname: '/toolpad/core/api/hooks-group',
subheader: 'Hooks',
children: [
{
pathname: '/toolpad/core/api/use-filter-state',
title: 'useFilterState',
},
],
},
],
},
{
pathname: '/toolpad/core/customization',
title: 'Customization',
},
];

export default pages;
Loading

0 comments on commit 9465e74

Please sign in to comment.