Skip to content

Commit

Permalink
[docs] Add two Toolpad Core components to Material UI sidebar (#43391)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhargupta1 authored Aug 26, 2024
1 parent a37ef34 commit ea34b29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/data/material/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-tree-view', title: 'Tree View' },
],
},
{
pathname: '/toolpad', // the pathname does not matter here because the links to Toolpad are outbound.
subheader: 'Toolpad Core',
newFeature: true,
children: [
{ pathname: '/toolpad/core/react-dashboard-layout/', title: 'Dashboard Layout' },
{ pathname: '/toolpad/core/react-sign-in-page/', title: 'Sign-in Page' },
],
},
{
pathname: '/material-ui',
subheader: 'lab',
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import basePages from 'docs/data/base/pages';
import joyPages from 'docs/data/joy/pages';
import { MuiPage } from 'docs/src/MuiPage';

const EXCLUDES = ['/api', '/blog', '/x/react-'];
const EXCLUDES = ['/api', '/blog', '/x/react-', '/toolpad'];

async function run() {
const translationsFilename = path.join(__dirname, '../translations/translations.json');
Expand Down

0 comments on commit ea34b29

Please sign in to comment.