Skip to content

Commit

Permalink
refactor(theme.py): Modify new banner announcement message for latest
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Feb 22, 2024
1 parent 38b4402 commit 768b374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rocm_docs/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _update_banner(

announcement_info: str
if version_type == util.VersionType.LATEST_RELEASE:
announcement_info = "The linking redirect for <a href='https://docs.amd.com'>docs.amd.com</a> to <a href='https://rocm.docs.amd.com/en/latest/'>rocm.docs.amd.com</a> will be removed. Please update any existing ROCm bookmarks or links that reference <a href='https://docs.amd.com'>docs.amd.com</a> to <a href='https://rocm.docs.amd.com/en/latest/'>rocm.docs.amd.com</a>."
announcement_info = "The redirect from <a href='https://docs.amd.com'>docs.amd.com</a> to <a href='https://rocm.docs.amd.com/en/latest/'>rocm.docs.amd.com</a> will be removed in mid March. Please update any existing ROCm bookmarks or links that reference <a href='https://docs.amd.com'>docs.amd.com</a> to <a href='https://rocm.docs.amd.com/en/latest/'>rocm.docs.amd.com</a>."
elif version_type == util.VersionType.RELEASE_CANDIDATE:
announcement_info = "This page contains changes for a test release of ROCm. Read the <a href='https://rocm.docs.amd.com/en/latest/'>latest Linux release of ROCm documentation</a> for your production environments."
elif version_type == util.VersionType.OLD_RELEASE:
Expand Down

0 comments on commit 768b374

Please sign in to comment.