diff --git a/docusaurus.config.js b/docusaurus.config.js
index 1f16f160d1..1d413d6cc1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -24,6 +24,12 @@ module.exports = {
}),
},
themeConfig: {
+ announcementBar: {
+ id: 'announcementBar-1', // increment on change
+ content:
+ '📌 Support for Zowe Version 1 ends on Sept. 30, 2024. Follow this guide to migrate to Zowe Version 2.',
+ textColor: '#000',
+ },
docs: {
sidebar: {
hideable: true
diff --git a/src/css/custom.css b/src/css/custom.css
index ceef9f6f21..5a2c8bdbed 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -439,7 +439,7 @@ html[data-theme="light"] .darkTheme {
div[class^='announcementBar_'] {
font-weight: 400;
font-size: 1.5em;
- background: repeating-linear-gradient(35deg,#edf2fa,#edf2fa 20px,#c9d9f2 10px, #c9d9f2 40px) !important;
+ background: repeating-linear-gradient(35deg,#fefae9,#fefae9 20px,#fdf0be 10px, #fdf0be 40px) !important;
}
diff --git a/src/theme/DocVersionBanner/index.js b/src/theme/DocVersionBanner/index.js
index 2d28d83008..4b4f60d05e 100644
--- a/src/theme/DocVersionBanner/index.js
+++ b/src/theme/DocVersionBanner/index.js
@@ -37,10 +37,13 @@ function UnmaintainedVersionLabel({siteTitle, versionMetadata}) {
description="The label used to tell the user that he's browsing an unmaintained doc version"
values={{
siteTitle,
+ guideLink: (
+ the migration guide
+ ),
versionLabel: {versionMetadata.label}
}}>
{
- `${versionMetadata.version[1] === "2" ? "" : `Please Note: The Zowe V1 LTS release has transitioned to "maintenance" effective 04/23/2022 with the 1.28 release and will no longer include new features. Security patches and critical bug fixes will continue to be documented for this release. ${versionMetadata.version !== "v1.28.x" ? " If you plan to remain on the V1 LTS release, please see the latest version of Zowe Docs for the maintained V1 LTS release (v1.28.x)." : "" }`}`
+ `${versionMetadata.version[1] === "2" ? "" : `Please Note: Support for Zowe Version 1 ends on Sept. 30, 2024. Follow {guideLink} to upgrade to Zowe Version 2. ${versionMetadata.version !== "v1.28.x" ? " If you plan to remain on the V1 LTS release, please see the latest version of Zowe Docs for the maintained V1 LTS release (v1.28.x)." : "" }`}`
}
>
@@ -75,10 +78,10 @@ function LatestVersionSuggestionLabel({versionLabel, versionMetadata, to, onClic
- ),
+ ),
}}>
{
- `${versionMetadata.version[1] === "2" ? "For documentation of the {latestVersionLink}, see ({versionLabel})" : 'For the latest Zowe features and capabilities, please reference the latest version of Zowe Docs for the "active" {latestVersionLink} ({versionLabel})'}.`
+ `${versionMetadata.version[1] === "2" ? "For {guideLink} of the {latestVersionLink}, see ({versionLabel})" : 'For the latest Zowe features and capabilities, please reference the latest version of Zowe Docs for the "active" {latestVersionLink} ({versionLabel})'}.`
}
);