From d107ecb4a0be9070b325b945c37ac777201c231f Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 14 Oct 2024 14:42:35 -0400 Subject: [PATCH 1/3] DOCSP-43975: EOL docs versions --- snooty.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/snooty.toml b/snooty.toml index 389fe649e..b76841b45 100644 --- a/snooty.toml +++ b/snooty.toml @@ -1,3 +1,5 @@ +eol = true + name = "java" title = "Java Sync" intersphinx = [ @@ -25,3 +27,12 @@ package-name-org = "mongodb-org" api = "https://mongodb.github.io/mongo-java-driver/{+version+}" stable-api = "Stable API" mongocrypt-version = "1.5.2" +current-url = "https://www.mongodb.com/docs/drivers/java/sync/current" + +[[banners]] +targets = ["*"] +variant = "info" +value = """\ + This version of the documentation is archived and no longer supported. View the `current documentation + <{+current-url+}>`__ to learn how to `upgrade your version of the {+driver-short+} <{+current-url+}/upgrade>`__.\ + """ From 0aa4d08b593168cd41cfc846e5278f1cfdb638de Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 14 Oct 2024 14:49:08 -0400 Subject: [PATCH 2/3] format --- snooty.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snooty.toml b/snooty.toml index b76841b45..39e35dfb8 100644 --- a/snooty.toml +++ b/snooty.toml @@ -33,6 +33,7 @@ current-url = "https://www.mongodb.com/docs/drivers/java/sync/current" targets = ["*"] variant = "info" value = """\ - This version of the documentation is archived and no longer supported. View the `current documentation - <{+current-url+}>`__ to learn how to `upgrade your version of the {+driver-short+} <{+current-url+}/upgrade>`__.\ + This version of the documentation is archived and no longer supported. View the + `current documentation <{+current-url+}>`__ to learn how to + `upgrade your version of the {+driver-short+} <{+current-url+}/upgrade>`__.\ """ From c3c785b4182f9702dbe7bb4052a35ef0a59632bd Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 14 Oct 2024 14:55:38 -0400 Subject: [PATCH 3/3] edit --- snooty.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snooty.toml b/snooty.toml index 39e35dfb8..6b99c8ba5 100644 --- a/snooty.toml +++ b/snooty.toml @@ -33,7 +33,5 @@ current-url = "https://www.mongodb.com/docs/drivers/java/sync/current" targets = ["*"] variant = "info" value = """\ - This version of the documentation is archived and no longer supported. View the - `current documentation <{+current-url+}>`__ to learn how to - `upgrade your version of the {+driver-short+} <{+current-url+}/upgrade>`__.\ + This version of the documentation is archived and no longer supported. View the `current documentation <{+current-url+}>`__ to learn how to `upgrade your version of the {+driver-short+} <{+current-url+}/upgrade>`__.\ """