Skip to content

Commit

Permalink
[docs-infra] Reduce description max-length
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 1, 2024
1 parent ffddc91 commit 05387b1
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 > 165) {
throw new Error(
[
`docs-infra: The description "${description}" is too long (${description.length} characters).`,
Expand Down

0 comments on commit 05387b1

Please sign in to comment.