diff --git a/src/rocm_docs/rocm_docs_theme/static/custom.css b/src/rocm_docs/rocm_docs_theme/static/custom.css index 5688d301..57ef4db1 100644 --- a/src/rocm_docs/rocm_docs_theme/static/custom.css +++ b/src/rocm_docs/rocm_docs_theme/static/custom.css @@ -314,3 +314,7 @@ a#ot-sdk-btn { :not(p) img { margin-bottom: 1rem; } + +#rocm-banner { + color: #80dfff; +} diff --git a/src/rocm_docs/theme.py b/src/rocm_docs/theme.py index 79407e8b..9c7e9520 100644 --- a/src/rocm_docs/theme.py +++ b/src/rocm_docs/theme.py @@ -84,11 +84,11 @@ def _update_banner( announcement_info: str if 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." + 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." + announcement_info = "This is not the latest version of ROCm documentation. See ROCm documentation for the latest version." elif version_type == util.VersionType.DEVELOPMENT: - announcement_info = "This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments." + announcement_info = "This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments." theme_opts.setdefault("announcement", announcement_info)