Repository navigation
Fix deprecation notice for Docusaurus 3.10.0 strict admonition syntax - #1423
Conversation
|
From my checks of the rest of the codebase this is the only instance where |
|
Visit the preview URL for this PR (updated for commit a648e4f): (expires Tue, 21 Apr 2026 15:27:16 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bf293780ee827f578864d92193b8c2866acd459f |
|
@sserrata - I didn't push some changes to the branch which would be nice to include. It adds a test spec to render the x-deprecated-description. |
Sure, let's do it. Will be helpful for catching visual regressions in the future, thanks! |
|
@sserrata - great, good to go |
|
@sserrata thanks very much, do you know when this might get out into a v5.0.1? We've got a Docusaurus v3.10.0 upgrade waiting in the wings which will need this bump |
…1445) Docusaurus 3.10's strict admonition parser silently drops the box when the title uses the legacy space-separated form (`:::info TIP`). Switch to the bracketed form (`:::info[TIP]`) in versioning.mdx, sidebars.mdx, and the cos OpenAPI spec. Generated .api.mdx files already pick up the matching plugin-side fix from PR #1423 on regeneration.

Description
Updates the format of the
createAdmonitionused withincreateDeprecationNoticeto use the new syntax required in Docusaurus v3.10.0.Motivation and Context
Docusaurus changed the available formats when writing admonition titles
Source
How Has This Been Tested?
Run changes locally
Screenshots (if appropriate)
Without changes
With changes
Types of changes
Checklist