diff --git a/docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/writers/mdx.py b/docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/writers/mdx.py index edead7a9e798d..48c71a71d08bd 100644 --- a/docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/writers/mdx.py +++ b/docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/writers/mdx.py @@ -972,6 +972,12 @@ def _flag_to_level(self, flag_type: str) -> str: level = "info" if flag_type == "experimental": level = "warning" + if flag_type == "preview": + level = "warning" + if flag_type == "beta": + level = "warning" + if flag_type == "superseded": + level = "warning" if flag_type == "deprecated": level = "danger" return level