From a272a61a08cd05b0e89cccf158a99f5e02338954 Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Mon, 28 Oct 2024 08:46:49 -0500 Subject: [PATCH 1/4] Move triggers banner and remove last sentence --- snooty.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/snooty.toml b/snooty.toml index 4c5b77503..8989add7c 100644 --- a/snooty.toml +++ b/snooty.toml @@ -89,6 +89,13 @@ min-user-session-refresh-token-expiration-time = "30 minutes" max-user-session-refresh-token-expiration-time = "5 years" default-user-session-refresh-token-expiration-time = "60 days" +[[banners]] +targets = ["triggers/*.txt"] +variant = "info" +value = """\ + The Triggers documentation is moving to the :ref:`Atlas docs `. Please refer to the docs in their new location in the future.\ + """ + [[banners]] targets = ["*"] variant = "warning" @@ -109,10 +116,3 @@ variant = "warning" value = """\ Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Commands related to these features are also deprecated.\ """ - -[[banners]] -targets = ["triggers/*.txt"] -variant = "info" -value = """\ - The Triggers documentation is moving to the :ref:`Atlas docs `. Please refer to the docs in their new location in the future. The Triggers documentation will be removed from the App Services docs.\ - """ From e585c758213b45ba9ebd937a5c1842fd5532d12c Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Mon, 28 Oct 2024 09:03:03 -0500 Subject: [PATCH 2/4] - Point to triggers root file - Minor banner edits --- snooty.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snooty.toml b/snooty.toml index 8989add7c..a606e28c0 100644 --- a/snooty.toml +++ b/snooty.toml @@ -90,10 +90,10 @@ max-user-session-refresh-token-expiration-time = "5 years" default-user-session-refresh-token-expiration-time = "60 days" [[banners]] -targets = ["triggers/*.txt"] +targets = ["triggers.txt", "triggers/*.txt"] variant = "info" value = """\ - The Triggers documentation is moving to the :ref:`Atlas docs `. Please refer to the docs in their new location in the future.\ + The Triggers documentation is moving to the Atlas docs. Please refer to the Triggers documentation in :ref:`its new location`.\ """ [[banners]] From 085c24dfaee235681e6c22b72d579d60d4da9c59 Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Mon, 28 Oct 2024 09:08:29 -0500 Subject: [PATCH 3/4] - Point to root of cli for its banner - another minor triggers banner edit --- snooty.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snooty.toml b/snooty.toml index a606e28c0..65baa4772 100644 --- a/snooty.toml +++ b/snooty.toml @@ -93,7 +93,7 @@ default-user-session-refresh-token-expiration-time = "60 days" targets = ["triggers.txt", "triggers/*.txt"] variant = "info" value = """\ - The Triggers documentation is moving to the Atlas docs. Please refer to the Triggers documentation in :ref:`its new location`.\ + The Triggers documentation is moving to the Atlas docs. Please refer to the Triggers documentation in its :ref:`new location`.\ """ [[banners]] @@ -111,7 +111,7 @@ value = """\ """ [[banners]] -targets = ["cli/*.txt"] +targets = ["cli.txt", "cli/*.txt"] variant = "warning" value = """\ Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Commands related to these features are also deprecated.\ From 82b2077a641ff0db04be04b5a6de3253ebec9d9e Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Mon, 28 Oct 2024 09:14:52 -0500 Subject: [PATCH 4/4] Change order of CLI banners --- snooty.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/snooty.toml b/snooty.toml index 65baa4772..8c5cb3b71 100644 --- a/snooty.toml +++ b/snooty.toml @@ -97,22 +97,22 @@ value = """\ """ [[banners]] -targets = ["*"] +targets = ["cli.txt", "cli/*.txt"] variant = "warning" value = """\ - Atlas Device Sync, Atlas Edge Server, Data API, and HTTPS Endpoints are deprecated. Refer to the :ref:`deprecation page for details `.\ + Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Commands related to these features are also deprecated.\ """ [[banners]] -targets = ["admin/*.txt"] +targets = ["*"] variant = "warning" value = """\ - Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Endpoints related to these features are also deprecated.\ + Atlas Device Sync, Atlas Edge Server, Data API, and HTTPS Endpoints are deprecated. Refer to the :ref:`deprecation page for details `.\ """ [[banners]] -targets = ["cli.txt", "cli/*.txt"] +targets = ["admin/*.txt"] variant = "warning" value = """\ - Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Commands related to these features are also deprecated.\ + Atlas Device Sync, Atlas Edge Server, Data API, HTTPS Endpoints, GraphQL, and Static Hosting are deprecated. Endpoints related to these features are also deprecated.\ """