From 251c9a522ca8ed353732c4e3f27221c9385dc1a6 Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:22:15 +0530 Subject: [PATCH 1/3] Update pages.ts --- docs/data/material/pages.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/data/material/pages.ts b/docs/data/material/pages.ts index a591e87eb630d9..d76e9e1a92ffa9 100644 --- a/docs/data/material/pages.ts +++ b/docs/data/material/pages.ts @@ -139,6 +139,14 @@ 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', + 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', From 52f642df0c60f9a72449a17aa802c6d6f31c52da Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:32:46 +0530 Subject: [PATCH 2/3] add new badge --- docs/data/material/pages.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/data/material/pages.ts b/docs/data/material/pages.ts index d76e9e1a92ffa9..61c9d296632f1e 100644 --- a/docs/data/material/pages.ts +++ b/docs/data/material/pages.ts @@ -142,6 +142,7 @@ const pages: MuiPage[] = [ { 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' }, From 9dccc49bf9b150b7b85ec207d3a81707588b466e Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Thu, 22 Aug 2024 11:53:45 +0530 Subject: [PATCH 3/3] Sam's review and i18n --- docs/data/material/pages.ts | 2 +- docs/scripts/i18n.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data/material/pages.ts b/docs/data/material/pages.ts index 61c9d296632f1e..cc56a45fc9beb5 100644 --- a/docs/data/material/pages.ts +++ b/docs/data/material/pages.ts @@ -145,7 +145,7 @@ const pages: MuiPage[] = [ newFeature: true, children: [ { pathname: '/toolpad/core/react-dashboard-layout/', title: 'Dashboard Layout' }, - { pathname: '/toolpad/core/react-sign-in-page/', title: 'Sign In Page' }, + { pathname: '/toolpad/core/react-sign-in-page/', title: 'Sign-in Page' }, ], }, { diff --git a/docs/scripts/i18n.ts b/docs/scripts/i18n.ts index 3385f15933f760..adde6c416d14b6 100644 --- a/docs/scripts/i18n.ts +++ b/docs/scripts/i18n.ts @@ -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');