From 405208eb4008de3141dfdf974cff73ef8dd6aafb Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:14:14 -0500 Subject: [PATCH 1/5] remove nested admonition --- source/fundamentals/connection/connection-options.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index be66c39d..58f69b12 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -306,12 +306,8 @@ relevant options. readPreference=primaryPreferred &maxStalenessSeconds=90 &readPreferenceTags=dc:ny,rack:1 - - | - - .. tip:: - - You can include the ``readPreferenceTags`` parameter in the connection URI more + | + | You can include the ``readPreferenceTags`` parameter in the connection URI more than once. If you do, the client treats each instance as a separate tag set. The order of the tags in the URI determines the order for read preference. You can use this parameter only if the read-preference mode is not ``primary``. From 6dbb685a93a47ca14ae262cc02144c3bb3357fb2 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:16:40 -0500 Subject: [PATCH 2/5] change warnings to important --- source/fundamentals/transactions.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 97c556fe..08b44f64 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -103,7 +103,7 @@ tabs to learn about the methods to manage your transaction: learn more about this method, see the :manual:`withTransaction() page ` in the Server manual. - .. warning:: Handling Exceptions + .. important:: Handling Exceptions When catching exceptions within the callback function used by ``WithTransaction()``, you **must** rethrow the exception before @@ -162,7 +162,7 @@ tabs to learn about the methods to manage your transaction: learn more about this method, see the :manual:`withTransaction() page ` in the Server manual. - .. warning:: Handling Exceptions + .. important:: Handling Exceptions When catching exceptions within the callback function used by ``WithTransactionAsync()``, you **must** rethrow the exception From 9dd404bb9da5491606513c04b9fb0ffdb7beb596 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:23:40 -0500 Subject: [PATCH 3/5] fix --- source/fundamentals/connection/connection-options.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index 58f69b12..62465ed2 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -307,10 +307,11 @@ relevant options. &maxStalenessSeconds=90 &readPreferenceTags=dc:ny,rack:1 | - | You can include the ``readPreferenceTags`` parameter in the connection URI more - than once. If you do, the client treats each instance as a separate tag set. - The order of the tags in the URI determines the order for read preference. You can - use this parameter only if the read-preference mode is not ``primary``. + + You can include the ``readPreferenceTags`` parameter in the connection URI more + than once. If you do, the client treats each instance as a separate tag set. + The order of the tags in the URI determines the order for read preference. You can + use this parameter only if the read-preference mode is not ``primary``. * - **ReplicaSetName** - | The name of the replica set to connect to. From f5d57803eca875018b0211bae98afc27adc982c7 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:28:01 -0500 Subject: [PATCH 4/5] fix --- source/fundamentals/connection/connection-options.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index 62465ed2..e5bb470e 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -306,7 +306,6 @@ relevant options. readPreference=primaryPreferred &maxStalenessSeconds=90 &readPreferenceTags=dc:ny,rack:1 - | You can include the ``readPreferenceTags`` parameter in the connection URI more than once. If you do, the client treats each instance as a separate tag set. From 5c13606b085c7e551107868e4f6df95a40baebc7 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:29:27 -0500 Subject: [PATCH 5/5] fix --- source/fundamentals/connection/connection-options.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index e5bb470e..4774a762 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -306,11 +306,11 @@ relevant options. readPreference=primaryPreferred &maxStalenessSeconds=90 &readPreferenceTags=dc:ny,rack:1 - - You can include the ``readPreferenceTags`` parameter in the connection URI more - than once. If you do, the client treats each instance as a separate tag set. - The order of the tags in the URI determines the order for read preference. You can - use this parameter only if the read-preference mode is not ``primary``. + + | You can include the ``readPreferenceTags`` parameter in the connection URI more + than once. If you do, the client treats each instance as a separate tag set. + The order of the tags in the URI determines the order for read preference. You can + use this parameter only if the read-preference mode is not ``primary``. * - **ReplicaSetName** - | The name of the replica set to connect to.