From 309b96a51a8809c4267ce4619c6708d05b881f92 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Tue, 5 Mar 2024 23:24:38 +0000 Subject: [PATCH] Add message about JS SDK v2 end-of-support --- doc-src/templates/default/layout/html/layout.erb | 2 +- doc-src/templates/default/layout/html/v2note.erb | 13 +++++++++++++ doc-src/templates/default/layout/html/v3note.erb | 12 ------------ 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 doc-src/templates/default/layout/html/v2note.erb delete mode 100644 doc-src/templates/default/layout/html/v3note.erb diff --git a/doc-src/templates/default/layout/html/layout.erb b/doc-src/templates/default/layout/html/layout.erb index 0d2e312fbd..27bf7527d1 100644 --- a/doc-src/templates/default/layout/html/layout.erb +++ b/doc-src/templates/default/layout/html/layout.erb @@ -20,7 +20,7 @@
- <%= erb(:v3note) %> + <%= erb(:v2note) %> <%= yieldall %>
diff --git a/doc-src/templates/default/layout/html/v2note.erb b/doc-src/templates/default/layout/html/v2note.erb new file mode 100644 index 0000000000..3b98c7477a --- /dev/null +++ b/doc-src/templates/default/layout/html/v2note.erb @@ -0,0 +1,13 @@ +
+
+
+
+ We announced the upcoming + end-of-support for AWS SDK for JavaScript v2. +
+
+ We recommend that you migrate to AWS SDK for JavaScript v3. + For dates, additional details, and information on how to migrate, please refer to the linked announcement. +
+
+
\ No newline at end of file diff --git a/doc-src/templates/default/layout/html/v3note.erb b/doc-src/templates/default/layout/html/v3note.erb deleted file mode 100644 index f00b5a7ee3..0000000000 --- a/doc-src/templates/default/layout/html/v3note.erb +++ /dev/null @@ -1,12 +0,0 @@ -
-
-
-
You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
-
- The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use. - For more information, see the - Migration Guide and - API Reference. -
-
-
\ No newline at end of file