Skip to content

Commit

Permalink
[docs-infra] Reduce description max-length (#43562)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 2, 2024
1 parent 45deab8 commit 24bedf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/blog/material-ui-v6-is-out.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Material UI v6 is out now 🎉
description: Material UI v6 ships with support for CSS variables, container queries, and advanced color schemes, as well as improved runtime performance and a reduced bundle size.
description: Material UI v6 is now stable. It comes with new features, improvements, and an experimental integration for static CSS extraction.
date: 2024-08-26T00:00:00.000Z
authors:
[
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown/prepareMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function prepareMarkdown(config) {
throw new Error(`docs-infra: Missing description in the page: ${location}\n`);
}

if (description.length > 170) {
if (description.length > 160) {
throw new Error(
[
`docs-infra: The description "${description}" is too long (${description.length} characters).`,
Expand Down

0 comments on commit 24bedf7

Please sign in to comment.