diff --git a/docs-linter/.markdownlint.json b/docs-linter/.markdownlint.json index 29e57bf5..6c324bed 100644 --- a/docs-linter/.markdownlint.json +++ b/docs-linter/.markdownlint.json @@ -5,5 +5,6 @@ "MD033": false, // Inline HTML. Essential for Docusaurus features (tabs, admonitions, specialized formatting). "MD034": false, // Bare URLs (e.g. https://example.com) without . Common in quickstart guides. "MD009": false, // Trailing spaces. Flags every invisible space at the end of a line. Huge noise source. - "MD060": false // Table column style. Flags tables that aren't perfectly ASCII-aligned in the raw text file. Purely visual. + "MD060": false, // Table column style. Flags tables that aren't perfectly ASCII-aligned in the raw text file. Purely visual. + "MD041": false // First line heading. Fires on every Docusaurus category index page (MDX imports before any heading). } \ No newline at end of file diff --git a/docs-linter/.vale.ini b/docs-linter/.vale.ini index 7edf5ced..4aa2b3c1 100644 --- a/docs-linter/.vale.ini +++ b/docs-linter/.vale.ini @@ -16,3 +16,4 @@ Microsoft.ComplexWords = NO Microsoft.Contractions = NO Microsoft.FirstPerson = NO Microsoft.HeadingPunctuation = NO +Microsoft.Dashes = NO diff --git a/packages/docusaurus-theme/css/legacy.css b/packages/docusaurus-theme/css/legacy.css index a16fa86c..a404b367 100644 --- a/packages/docusaurus-theme/css/legacy.css +++ b/packages/docusaurus-theme/css/legacy.css @@ -1989,6 +1989,12 @@ code { white-space: pre; } +/* Inline code must wrap; the rule above forces white-space: pre, which overflows the page on mobile. */ +:not(pre) > code { + white-space: normal; + overflow-wrap: anywhere; +} + code p { }