From d1bb53fcbe48ed471df53cc3e53cc9f61bb83914 Mon Sep 17 00:00:00 2001 From: Jordan Smith Date: Tue, 17 Dec 2024 08:18:49 -0800 Subject: [PATCH 1/3] add parallel operations note --- snooty.toml | 2 ++ source/reference/transactions.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/snooty.toml b/snooty.toml index d1765ce71..b769d9710 100644 --- a/snooty.toml +++ b/snooty.toml @@ -2,3 +2,5 @@ name = "ruby-driver" title = "Ruby MongoDB Driver" intersphinx = ["https://www.mongodb.com/docs/manual/objects.inv"] + +sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" diff --git a/source/reference/transactions.txt b/source/reference/transactions.txt index 722038ca8..943c25626 100644 --- a/source/reference/transactions.txt +++ b/source/reference/transactions.txt @@ -2,8 +2,6 @@ Transactions ************ -.. default-domain:: mongodb - .. contents:: On this page :local: :backlinks: none @@ -16,6 +14,8 @@ Version 4.0 of the MongoDB server introduces (Updates to multiple fields within a single document are atomic in all versions of MongoDB.) Ruby driver version 2.6.0 adds support for transactions. +.. sharedinclude:: dbx/transactions-parallelism.rst + .. _using-transactions: Using Transactions From 07b6d769727c2e6cc30a6e96515789a888fda55e Mon Sep 17 00:00:00 2001 From: Jordan Smith Date: Tue, 17 Dec 2024 08:25:32 -0800 Subject: [PATCH 2/3] add constant --- snooty.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snooty.toml b/snooty.toml index b769d9710..c857a96a2 100644 --- a/snooty.toml +++ b/snooty.toml @@ -4,3 +4,6 @@ title = "Ruby MongoDB Driver" intersphinx = ["https://www.mongodb.com/docs/manual/objects.inv"] sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" + +[constants] +driver-short = "Ruby Driver" From ff00d4c8a5397f07c7f8107c5298fc082cebd7cd Mon Sep 17 00:00:00 2001 From: Jordan Smith Date: Tue, 17 Dec 2024 08:57:30 -0800 Subject: [PATCH 3/3] casing --- snooty.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snooty.toml b/snooty.toml index c857a96a2..2babbbacb 100644 --- a/snooty.toml +++ b/snooty.toml @@ -6,4 +6,4 @@ intersphinx = ["https://www.mongodb.com/docs/manual/objects.inv"] sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] -driver-short = "Ruby Driver" +driver-short = "Ruby driver"