diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7142f573c446c2..bb33aac15bf91a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,9 @@ jobs: # - run: pnpm release:changelog # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Check docs links + if: ${{ matrix.os == 'ubuntu-latest' }} + run: pnpm docs:link-check - name: Debug export-detail.json on when pnpm docs:build fails with EMFILE error if: failure() run: cat ./docs/.next/export-detail.json || true diff --git a/docs/data/material/components/selects/GroupedSelect.js b/docs/data/material/components/selects/GroupedSelect.js index 3bab115a72ce57..4eff428d7fe755 100644 --- a/docs/data/material/components/selects/GroupedSelect.js +++ b/docs/data/material/components/selects/GroupedSelect.js @@ -25,9 +25,7 @@ export default function GroupedSelect() { - - Grouping - + Grouping - Official color tool + Official color tool

diff --git a/docs/data/material/customization/right-to-left/RtlOptOut.js b/docs/data/material/customization/right-to-left/RtlOptOut.js index a574ea5b4bab2b..5b819e622d887d 100644 --- a/docs/data/material/customization/right-to-left/RtlOptOut.js +++ b/docs/data/material/customization/right-to-left/RtlOptOut.js @@ -40,7 +40,7 @@ export default function RtlOptOut() { label="Toggle RTL" /> - + RTL normal behavior RTL noflip diff --git a/docs/data/material/customization/right-to-left/RtlOptOut.tsx b/docs/data/material/customization/right-to-left/RtlOptOut.tsx index a574ea5b4bab2b..5b819e622d887d 100644 --- a/docs/data/material/customization/right-to-left/RtlOptOut.tsx +++ b/docs/data/material/customization/right-to-left/RtlOptOut.tsx @@ -40,7 +40,7 @@ export default function RtlOptOut() { label="Toggle RTL" /> - + RTL normal behavior RTL noflip diff --git a/docs/data/material/customization/right-to-left/RtlOptOut.tsx.preview b/docs/data/material/customization/right-to-left/RtlOptOut.tsx.preview index c4362fb2759537..91b2c127df05a5 100644 --- a/docs/data/material/customization/right-to-left/RtlOptOut.tsx.preview +++ b/docs/data/material/customization/right-to-left/RtlOptOut.tsx.preview @@ -3,7 +3,7 @@ label="Toggle RTL" /> - + RTL normal behavior RTL noflip diff --git a/docs/data/material/design-resources/material-ui-for-figma/material-ui-for-figma.md b/docs/data/material/design-resources/material-ui-for-figma/material-ui-for-figma.md index 20c6d65d4de3e7..c9082e04d2c490 100644 --- a/docs/data/material/design-resources/material-ui-for-figma/material-ui-for-figma.md +++ b/docs/data/material/design-resources/material-ui-for-figma/material-ui-for-figma.md @@ -72,7 +72,7 @@ You can use the [Similayer](https://www.figma.com/community/plugin/7357332678833 The video below shows how to add new columns by detaching cells from their row components, allowing you to freely move content around. - + #### Adding new columns in the main component diff --git a/docs/data/material/discover-more/backers/backers.md b/docs/data/material/discover-more/backers/backers.md index 43f414c311d3c8..30c988226d7fa3 100644 --- a/docs/data/material/discover-more/backers/backers.md +++ b/docs/data/material/discover-more/backers/backers.md @@ -8,8 +8,8 @@ Sponsorship increases the rate of bug fixes, documentation improvements, and fea ## Diamond sponsors

- doit - formengine + doit + formengine

_1/3 slots available_ diff --git a/docs/data/material/integrations/interoperability/interoperability.md b/docs/data/material/integrations/interoperability/interoperability.md index 58dcd4e4011210..ee238bf1222c23 100644 --- a/docs/data/material/integrations/interoperability/interoperability.md +++ b/docs/data/material/integrations/interoperability/interoperability.md @@ -18,7 +18,7 @@ There are examples for the following styling solutions: Nothing fancy, just plain CSS. -{{"demo": "StyledComponents.js", "hideToolbar": true}} +{{"demo": "StyledComponents.js", "hideToolbar": true, "anchorId": null}} [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/plain-css-fdue7) @@ -95,7 +95,7 @@ In Material UI, all child elements have an increased specificity of 2: `.parent The following examples override the slider's `thumb` style in addition to the custom styles on the slider itself. -{{"demo": "StyledComponentsDeep.js", "hideToolbar": true}} +{{"demo": "StyledComponentsDeep.js", "hideToolbar": true, "anchorId": null}} ```css title="PlainCssSliderDeep1.css" .slider { @@ -236,7 +236,7 @@ In Material UI, all child elements have an increased specificity of 2: `.parent The following example overrides the slider's `thumb` style in addition to the custom styles on the slider itself. -{{"demo": "StyledComponentsDeep.js", "hideToolbar": true}} +{{"demo": "StyledComponentsDeep.js", "hideToolbar": true, "anchorId": null}} ```css title="GlobalCssSliderDeep.css" .MuiSlider-root { @@ -401,7 +401,7 @@ const StyledTooltip = styled(({ className, ...props }) => ( It's hard to know the market share of [this styling solution](https://github.com/css-modules/css-modules) as it's dependent on the bundling solution people are using. -{{"demo": "StyledComponents.js", "hideToolbar": true}} +{{"demo": "StyledComponents.js", "hideToolbar": true, "anchorId": null}} [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/css-modules-nuyg8) @@ -760,7 +760,7 @@ If styles aren't applying correctly: Now it's all set up and you can start using Tailwind CSS on the Material UI components! -{{"demo": "StyledComponents.js", "hideToolbar": true}} +{{"demo": "StyledComponents.js", "hideToolbar": true, "anchorId": null}} [![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/github-ndkshy?file=pages%2Findex.tsx) @@ -784,7 +784,7 @@ If you attempt to style the Slider, for example, you'll likely want to customize This example showcases how to override the Slider's `thumb` style. -{{"demo": "StyledComponentsDeep.js", "hideToolbar": true}} +{{"demo": "StyledComponentsDeep.js", "hideToolbar": true, "anchorId": null}} ```jsx title="SliderThumbOverrides.tsx" import * as React from 'react'; diff --git a/docs/package.json b/docs/package.json index ab3e740f31c202..c7c386428f5b1e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,7 +3,7 @@ "private": true, "license": "MIT", "scripts": { - "build": "rimraf ./export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 next build && pnpm build-sw && pnpm link-check", + "build": "rimraf ./export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 next build && pnpm build-sw", "build:clean": "rimraf .next && pnpm build", "build-sw": "node ./scripts/buildServiceWorker.js", "dev": "next dev", diff --git a/docs/pages/blog/2019-developer-survey-results.md b/docs/pages/blog/2019-developer-survey-results.md index f91019fbc00b54..4e69834dffa771 100644 --- a/docs/pages/blog/2019-developer-survey-results.md +++ b/docs/pages/blog/2019-developer-survey-results.md @@ -162,7 +162,7 @@ It's sorted descending, with the most important concerns first:
-Pie chart: 70.6% promoters, 24.8% neutrals, 4.6% detractors +Pie chart: 70.6% promoters, 24.8% neutrals, 4.6% detractors
Result.
diff --git a/docs/pages/blog/2020-introducing-sketch.md b/docs/pages/blog/2020-introducing-sketch.md index da26f5b4dffdac..794a79fac0b289 100644 --- a/docs/pages/blog/2020-introducing-sketch.md +++ b/docs/pages/blog/2020-introducing-sketch.md @@ -55,7 +55,7 @@ The UI kit was created specifically for Material UI, a popular React UI library The following video demonstrates how the symbols can be used to design an invoice page. - + Sketch Cloud preview: https://mui.com/store/previews/sketch-react/. diff --git a/docs/pages/blog/material-ui-v1-is-out.md b/docs/pages/blog/material-ui-v1-is-out.md index 81c16a6fea3f63..bf840cee84132a 100644 --- a/docs/pages/blog/material-ui-v1-is-out.md +++ b/docs/pages/blog/material-ui-v1-is-out.md @@ -18,7 +18,7 @@ We are so excited about this release, as it's setting a new course for the proje ✨✨✨ See the **[1.0.0 Release Note](https://github.com/mui/material-ui/releases/tag/v1.0.0)** on GitHub. ✨✨✨ - +

One button

diff --git a/docs/pages/blog/toolpad-use-cases.md b/docs/pages/blog/toolpad-use-cases.md index c4800d7190a671..f17f5f0603a050 100644 --- a/docs/pages/blog/toolpad-use-cases.md +++ b/docs/pages/blog/toolpad-use-cases.md @@ -55,7 +55,7 @@ Other KPI pages also use this health badge and pre-built Chart components to com The video below demonstrates the usage of this app in dev mode: -