Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/scripts/reportBrokenLinks.mts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ async function main() {
'[id^="demo-"] a[href^="#outlined-buttons"]',
'[id^="demo-"] a[href^="#foo"]',
],
htmlValidate: {
extends: ['mui:recommended'],
rules: {
// Prism.js outputs raw ">" in syntax-highlighted code blocks.
// https://github.com/PrismJS/prism/issues/2516
// https://gitlab.com/html-validate/html-validate/-/work_items/348
'no-raw-characters': 'off',
},
},
ignores: [
{
// The links checker uses standard github slugger to check if the anchor exists. But the MUI docs use
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@mui-internal/api-docs-builder-core": "workspace:^",
"@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.24",
"@mui/internal-bundle-size-checker": "1.0.9-canary.69",
"@mui/internal-code-infra": "0.0.4-canary.11",
"@mui/internal-code-infra": "https://pkg.pr.new/mui/mui-public/@mui/internal-code-infra@e53ab4c",
"@mui/internal-docs-utils": "workspace:^",
"@mui/internal-netlify-cache": "0.0.3-canary.2",
"@mui/internal-scripts": "workspace:^",
Expand Down
128 changes: 114 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading