From 2217afd51b87d67b204b2ee2c979d3bc605009bc Mon Sep 17 00:00:00 2001 From: Mike Woofter Date: Thu, 18 Jan 2024 10:55:51 -0600 Subject: [PATCH 1/3] eol --- snooty.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/snooty.toml b/snooty.toml index ac57787b4..e80cf017e 100644 --- a/snooty.toml +++ b/snooty.toml @@ -37,3 +37,12 @@ cmk-long = "Customer Master Key" dek-long = "Data Encryption Key" csfle-short = "CSFLE" csfle-long = "Client-side Field Level Encryption (CSFLE)" + +eol = true + +[[banners]] +targets = ["*"] +variant = "info" +value = """\ + This version of the documentation is archived and no longer supported. View the `current documentation `__ to learn how to `upgrade your version of [product name] `__.\ + """ From 3b4154709f036e1f3c477130dc3b5bb1fae80e31 Mon Sep 17 00:00:00 2001 From: Mike Woofter Date: Thu, 18 Jan 2024 11:19:18 -0600 Subject: [PATCH 2/3] add links --- snooty.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snooty.toml b/snooty.toml index e80cf017e..bd137974d 100644 --- a/snooty.toml +++ b/snooty.toml @@ -37,6 +37,7 @@ cmk-long = "Customer Master Key" dek-long = "Data Encryption Key" csfle-short = "CSFLE" csfle-long = "Client-side Field Level Encryption (CSFLE)" +current-url-base = "https://www.mongodb.com/docs/drivers/node/current/" eol = true @@ -44,5 +45,5 @@ eol = true targets = ["*"] variant = "info" value = """\ - This version of the documentation is archived and no longer supported. View the `current documentation `__ to learn how to `upgrade your version of [product name] `__.\ + This version of the documentation is archived and no longer supported. View the `current documentation <{+current-url-base+}>`__ to learn how to `upgrade your version of the {+driver-long+} <{+current-url-base+}/upgrade/>`__.\ """ From c66642f0e81fb8612abbf4d568abd6c6035b5f74 Mon Sep 17 00:00:00 2001 From: Mike Woofter Date: Thu, 18 Jan 2024 11:32:22 -0600 Subject: [PATCH 3/3] fix link --- snooty.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snooty.toml b/snooty.toml index bd137974d..7e1b59686 100644 --- a/snooty.toml +++ b/snooty.toml @@ -45,5 +45,5 @@ eol = true targets = ["*"] variant = "info" value = """\ - This version of the documentation is archived and no longer supported. View the `current documentation <{+current-url-base+}>`__ to learn how to `upgrade your version of the {+driver-long+} <{+current-url-base+}/upgrade/>`__.\ + This version of the documentation is archived and no longer supported. View the `current documentation <{+current-url-base+}>`__ to learn how to `upgrade your version of the {+driver-long+} <{+current-url-base+}upgrade/>.`__\ """