diff --git a/src/rocm_docs/theme.py b/src/rocm_docs/theme.py index 6c259810..72ce4853 100644 --- a/src/rocm_docs/theme.py +++ b/src/rocm_docs/theme.py @@ -45,11 +45,10 @@ def _update_banner( if flavor != "rocm": return - if version_type == util.VersionType.LATEST_RELEASE: - return - announcement_info: str - if version_type == util.VersionType.RELEASE_CANDIDATE: + if version_type == util.VersionType.LATEST_RELEASE: + announcement_info = "The redirect from docs.amd.com to rocm.docs.amd.com will be removed in mid March. Please update any existing ROCm bookmarks or links that reference docs.amd.com to rocm.docs.amd.com." + elif version_type == util.VersionType.RELEASE_CANDIDATE: announcement_info = "This page contains changes for a test release of ROCm. Read the latest Linux release of ROCm documentation for your production environments." elif version_type == util.VersionType.OLD_RELEASE: announcement_info = "This is an old version of ROCm documentation. Read the latest ROCm release documentation to stay informed of all our developments."