From 6788902a3675a895086108f639b32f8a1bb5c345 Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Thu, 27 Mar 2025 11:59:54 -0500 Subject: [PATCH] DOCSP-48687 - Standardize API source constants (#119) (cherry picked from commit 069f67e6c76d58532d56f18353a235c438943c76) --- snooty.toml | 6 +++--- .../connect-to-mongo/choose-connection-target.txt | 2 +- source/connect-to-mongo/connection-options.txt | 2 +- source/connect-to-mongo/create-a-mongo-client.txt | 2 +- source/connect-to-mongo/network-compression.txt | 4 ++-- source/connect-to-mongo/stable-api.txt | 2 +- source/data-formats/time-series.txt | 8 ++++---- source/index.txt | 4 ++-- source/monitoring.txt | 2 +- source/read-write-configuration.txt | 14 +++++++------- source/read/change-streams.txt | 8 ++++---- source/read/count-documents.txt | 6 +++--- source/read/cursors.txt | 4 ++-- source/read/distinct.txt | 6 +++--- source/read/retrieve-data.txt | 8 ++++---- source/read/specify-a-query.txt | 4 ++-- source/read/specify-documents-to-return.txt | 10 +++++----- source/read/specify-fields-return.txt | 4 ++-- source/security/enterprise-authentication.txt | 10 +++++----- source/whats-new.txt | 2 +- source/write/bulk-writes.txt | 4 ++-- source/write/insert-documents.txt | 6 +++--- source/write/replace-documents.txt | 4 ++-- source/write/run-command.txt | 2 +- source/write/transactions.txt | 10 +++++----- source/write/write-delete-documents.txt | 6 +++--- source/write/write-update-documents.txt | 6 +++--- 27 files changed, 73 insertions(+), 73 deletions(-) diff --git a/snooty.toml b/snooty.toml index 7849e9a..2718b5c 100644 --- a/snooty.toml +++ b/snooty.toml @@ -23,9 +23,9 @@ driver-short = "Java Reactive Streams driver" driver-long = "MongoDB Java Reactive Streams Driver" version = "5.4" full-version = "{+version+}.0" -api = "https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs" -rs-driver-api = "{+api+}/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client" -core-api = "{+api+}/mongodb-driver-core/com/mongodb" +api-root = "https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs" +driver-api = "{+api-root+}/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client" +core-api = "{+api-root+}/mongodb-driver-core/com/mongodb" rs-docs = "https://www.reactive-streams.org/reactive-streams-1.0.4-javadoc/org/reactivestreams" driver-source-gh = "https://github.com/mongodb/mongo-java-driver" java-rs = "Java Reactive Streams" diff --git a/source/connect-to-mongo/choose-connection-target.txt b/source/connect-to-mongo/choose-connection-target.txt index 46f7d37..ca17628 100644 --- a/source/connect-to-mongo/choose-connection-target.txt +++ b/source/connect-to-mongo/choose-connection-target.txt @@ -142,4 +142,4 @@ API Documentation To learn more about creating a ``MongoClient`` instance in the {+driver-short+}, see the following API documentation: -- `MongoClient <{+rs-driver-api+}/MongoClients.html>`__ \ No newline at end of file +- `MongoClient <{+driver-api+}/MongoClients.html>`__ \ No newline at end of file diff --git a/source/connect-to-mongo/connection-options.txt b/source/connect-to-mongo/connection-options.txt index 6045259..6129b81 100644 --- a/source/connect-to-mongo/connection-options.txt +++ b/source/connect-to-mongo/connection-options.txt @@ -304,7 +304,7 @@ General Configuration * - **uuidRepresentation** - | Sets the mechanism the {+driver-short+} uses to encode instances of - | UUID. See the `Uuid Representation <{+api+}/bson/org/bson/UuidRepresentation.html>`__ API documentation for a list of all + | UUID. See the `Uuid Representation <{+api-root+}/bson/org/bson/UuidRepresentation.html>`__ API documentation for a list of all | valid options. | | **Data Type**: {+string-data-type+} diff --git a/source/connect-to-mongo/create-a-mongo-client.txt b/source/connect-to-mongo/create-a-mongo-client.txt index 61fed95..b01f78b 100644 --- a/source/connect-to-mongo/create-a-mongo-client.txt +++ b/source/connect-to-mongo/create-a-mongo-client.txt @@ -117,4 +117,4 @@ API Documentation To learn more about creating a ``MongoClient`` instance in the {+driver-short+}, see the following API documentation: -- `MongoClient <{+rs-driver-api+}/MongoClients.html>`__ \ No newline at end of file +- `MongoClient <{+driver-api+}/MongoClients.html>`__ \ No newline at end of file diff --git a/source/connect-to-mongo/network-compression.txt b/source/connect-to-mongo/network-compression.txt index ae93ecc..2561c74 100644 --- a/source/connect-to-mongo/network-compression.txt +++ b/source/connect-to-mongo/network-compression.txt @@ -92,7 +92,7 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `MongoClient <{+rs-driver-api+}/MongoClient.html>`__ +- `MongoClient <{+driver-api+}/MongoClient.html>`__ - `createSnappyCompressor() <{+core-api+}/MongoCompressor.html#createSnappyCompressor()>`__ -- `createZlibCompressor() <{+api+}//mongodb-driver-core/com/mongodb/MongoCompressor.html#createZlibCompressor()>`__ +- `createZlibCompressor() <{+api-root+}//mongodb-driver-core/com/mongodb/MongoCompressor.html#createZlibCompressor()>`__ - `createZstdCompressor() <{+core-api+}/MongoCompressor.html#createZstdCompressor()>`__ \ No newline at end of file diff --git a/source/connect-to-mongo/stable-api.txt b/source/connect-to-mongo/stable-api.txt index 2aee0d1..b3519ae 100644 --- a/source/connect-to-mongo/stable-api.txt +++ b/source/connect-to-mongo/stable-api.txt @@ -128,4 +128,4 @@ following API documentation: - `ServerAddress <{+core-api+}/ServerAddress.html>`__ - `MongoClientSettings <{+core-api+}/MongoClientSettings.html>`__ - `MongoClientSettings.Builder <{+core-api+}/MongoClientSettings.Builder.html>`__ -- `MongoClients <{+rs-driver-api+}/MongoClients.html>`__ +- `MongoClients <{+driver-api+}/MongoClients.html>`__ diff --git a/source/data-formats/time-series.txt b/source/data-formats/time-series.txt index c503c3f..e7b9590 100644 --- a/source/data-formats/time-series.txt +++ b/source/data-formats/time-series.txt @@ -165,7 +165,7 @@ API Documentation To learn more about the methods mentioned in this guide, see the following API documentation: -- `createCollection() <{+rs-driver-api+}/MongoDatabase.html#createCollection(java.lang.String)>`__ -- `listCollections() <{+rs-driver-api+}/MongoDatabase.html#listCollections()>`__ -- `insertOne() <{+rs-driver-api+}/MongoCollection.html#insertOne(TDocument)>`__ -- `insertMany() <{+rs-driver-api+}/MongoCollection.html#insertMany(java.util.List)>`__ \ No newline at end of file +- `createCollection() <{+driver-api+}/MongoDatabase.html#createCollection(java.lang.String)>`__ +- `listCollections() <{+driver-api+}/MongoDatabase.html#listCollections()>`__ +- `insertOne() <{+driver-api+}/MongoCollection.html#insertOne(TDocument)>`__ +- `insertMany() <{+driver-api+}/MongoCollection.html#insertMany(java.util.List)>`__ \ No newline at end of file diff --git a/source/index.txt b/source/index.txt index 21c52ea..c5f0281 100644 --- a/source/index.txt +++ b/source/index.txt @@ -40,7 +40,7 @@ MongoDB Java Reactive Streams Documentation Issues & Help Compatibility Upgrade - API Documentation <{+api+}/mongodb-driver-reactivestreams/> + API Documentation <{+api-root+}/mongodb-driver-reactivestreams/> Overview -------- @@ -135,7 +135,7 @@ API Documentation ----------------- For detailed information about types and methods in the {+driver-short+}, see -the `API documentation <{+api+}/mongodb-driver-reactivestreams/>`__. +the `API documentation <{+api-root+}/mongodb-driver-reactivestreams/>`__. If you need to make synchronous calls between your application and MongoDB, use the :driver:`MongoDB Java Driver ` instead of the diff --git a/source/monitoring.txt b/source/monitoring.txt index 0be0e5e..e8fa9f6 100644 --- a/source/monitoring.txt +++ b/source/monitoring.txt @@ -418,7 +418,7 @@ API Documentation For more information about the classes and methods mentioned in this document, see the following API Documentation: -- `MongoClients <{+rs-driver-api+}/MongoClients.html>`__ +- `MongoClients <{+driver-api+}/MongoClients.html>`__ - `MongoClientSettings <{+core-api+}/MongoClientSettings.html>`__ - `CommandListener <{+core-api+}/event/CommandListener.html>`__ - `CommandStartedEvent <{+core-api+}/event/CommandStartedEvent.html>`__ diff --git a/source/read-write-configuration.txt b/source/read-write-configuration.txt index b04754d..068a77c 100644 --- a/source/read-write-configuration.txt +++ b/source/read-write-configuration.txt @@ -195,12 +195,12 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `WriteConcern <{+api+}//mongodb-driver-core/com/mongodb/WriteConcern.html>`__ -- `MongoDatabase.withWriteConcern <{+rs-driver-api+}/MongoDatabase.html#withWriteConcern(com.mongodb.WriteConcern)>`__ -- `MongoCollection.withWriteConcern <{+rs-driver-api+}/MongoCollection.html#withWriteConcern(com.mongodb.WriteConcern)>`__ +- `WriteConcern <{+api-root+}//mongodb-driver-core/com/mongodb/WriteConcern.html>`__ +- `MongoDatabase.withWriteConcern <{+driver-api+}/MongoDatabase.html#withWriteConcern(com.mongodb.WriteConcern)>`__ +- `MongoCollection.withWriteConcern <{+driver-api+}/MongoCollection.html#withWriteConcern(com.mongodb.WriteConcern)>`__ - `ReadConcern <{+core-api+}/ReadConcern.html>`__ -- `MongoDatabase.withReadConcern <{+rs-driver-api+}/MongoDatabase.html#withReadConcern(com.mongodb.ReadConcern)>`__ -- `MongoCollection.withReadConcern <{+rs-driver-api+}/MongoCollection.html#withReadPreference(com.mongodb.ReadPreference)>`__ +- `MongoDatabase.withReadConcern <{+driver-api+}/MongoDatabase.html#withReadConcern(com.mongodb.ReadConcern)>`__ +- `MongoCollection.withReadConcern <{+driver-api+}/MongoCollection.html#withReadPreference(com.mongodb.ReadPreference)>`__ - `ReadPreference <{+core-api+}/ReadPreference.html>`__ -- `MongoDatabase.withReadPreference <{+rs-driver-api+}/MongoDatabase.html#withReadPreference(com.mongodb.ReadPreference)>`__ -- `MongoDatabase.withReadPreference <{+rs-driver-api+}/MongoCollection.html#withReadPreference(com.mongodb.ReadPreference)>`__ +- `MongoDatabase.withReadPreference <{+driver-api+}/MongoDatabase.html#withReadPreference(com.mongodb.ReadPreference)>`__ +- `MongoDatabase.withReadPreference <{+driver-api+}/MongoCollection.html#withReadPreference(com.mongodb.ReadPreference)>`__ diff --git a/source/read/change-streams.txt b/source/read/change-streams.txt index 44c8816..5747e69 100644 --- a/source/read/change-streams.txt +++ b/source/read/change-streams.txt @@ -244,7 +244,7 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `MongoClient.watch() <{+rs-driver-api+}/MongoClient.html#watch()>`__ -- `MongoCollection.watch() <{+rs-driver-api+}/MongoCollection.html#watch()>`__ -- `MongoDatabase.watch() <{+rs-driver-api+}/MongoDatabase.html#watch()>`__ -- `ChangeStreamPublisher <{+rs-driver-api+}/ChangeStreamPublisher.html>`__ \ No newline at end of file +- `MongoClient.watch() <{+driver-api+}/MongoClient.html#watch()>`__ +- `MongoCollection.watch() <{+driver-api+}/MongoCollection.html#watch()>`__ +- `MongoDatabase.watch() <{+driver-api+}/MongoDatabase.html#watch()>`__ +- `ChangeStreamPublisher <{+driver-api+}/ChangeStreamPublisher.html>`__ \ No newline at end of file diff --git a/source/read/count-documents.txt b/source/read/count-documents.txt index fd393bd..2a4e721 100644 --- a/source/read/count-documents.txt +++ b/source/read/count-documents.txt @@ -227,6 +227,6 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `countDocuments() <{+rs-driver-api+}/MongoCollection.html#countDocuments()>`__ -- `estimatedDocumentCount() <{+rs-driver-api+}/MongoCollection.html#estimatedDocumentCount()>`__ -- `Collation <{+rs-driver-api+}/FindPublisher.html#collation(com.mongodb.client.model.Collation)>`__ \ No newline at end of file +- `countDocuments() <{+driver-api+}/MongoCollection.html#countDocuments()>`__ +- `estimatedDocumentCount() <{+driver-api+}/MongoCollection.html#estimatedDocumentCount()>`__ +- `Collation <{+driver-api+}/FindPublisher.html#collation(com.mongodb.client.model.Collation)>`__ \ No newline at end of file diff --git a/source/read/cursors.txt b/source/read/cursors.txt index 71b1378..2906197 100644 --- a/source/read/cursors.txt +++ b/source/read/cursors.txt @@ -103,6 +103,6 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `find() <{+rs-driver-api+}/MongoCollection.html#find()>`__ -- `FindPublisher <{+rs-driver-api+}/FindPublisher.html>`__ +- `find() <{+driver-api+}/MongoCollection.html#find()>`__ +- `FindPublisher <{+driver-api+}/FindPublisher.html>`__ - `CursorType <{+core-api+}/CursorType.html>`__ diff --git a/source/read/distinct.txt b/source/read/distinct.txt index c12a9fc..82b2b9a 100644 --- a/source/read/distinct.txt +++ b/source/read/distinct.txt @@ -135,7 +135,7 @@ The following table describes some methods you can use to customize the - | Sets the maximum amount of time to allow the operation to run, in milliseconds. For a complete list of methods you can use to modify the ``distinct()`` method, see -the `DistinctPublisher <{+rs-driver-api+}/DistinctPublisher.html>`__ API documentation. +the `DistinctPublisher <{+driver-api+}/DistinctPublisher.html>`__ API documentation. The following example retrieves the distinct values of the ``name`` field for all documents that have a ``borough`` field value of ``"Bronx"`` and a @@ -171,5 +171,5 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `distinct() <{+rs-driver-api+}/MongoCollection.html#distinct(java.lang.String,java.lang.Class)>`__ -- `DistinctPublisher <{+rs-driver-api+}/DistinctPublisher.html>`__ \ No newline at end of file +- `distinct() <{+driver-api+}/MongoCollection.html#distinct(java.lang.String,java.lang.Class)>`__ +- `DistinctPublisher <{+driver-api+}/DistinctPublisher.html>`__ \ No newline at end of file diff --git a/source/read/retrieve-data.txt b/source/read/retrieve-data.txt index 6832c5d..f808656 100644 --- a/source/read/retrieve-data.txt +++ b/source/read/retrieve-data.txt @@ -170,7 +170,7 @@ time of 10 seconds: .blockLast(); For a full list of available arguments, see the -`API documentation <{+rs-driver-api+}/FindPublisher.html>`__ +`API documentation <{+driver-api+}/FindPublisher.html>`__ for the ``FindPublisher`` interface. .. _java-rs-retrieve-additional-information: @@ -189,6 +189,6 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `find() <{+rs-driver-api+}/MongoCollection.html#find()>`__ -- `FindPublisher <{+rs-driver-api+}/FindPublisher.html>`__ -- `Collation <{+rs-driver-api+}/FindPublisher.html#collation(com.mongodb.client.model.Collation)>`__ +- `find() <{+driver-api+}/MongoCollection.html#find()>`__ +- `FindPublisher <{+driver-api+}/FindPublisher.html>`__ +- `Collation <{+driver-api+}/FindPublisher.html#collation(com.mongodb.client.model.Collation)>`__ diff --git a/source/read/specify-a-query.txt b/source/read/specify-a-query.txt index 51cdf22..e286bde 100644 --- a/source/read/specify-a-query.txt +++ b/source/read/specify-a-query.txt @@ -265,5 +265,5 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `find() <{+rs-driver-api+}/MongoCollection.html#find()>`__ -- `FindPublisher <{+rs-driver-api+}/FindPublisher.html>`__ +- `find() <{+driver-api+}/MongoCollection.html#find()>`__ +- `FindPublisher <{+driver-api+}/FindPublisher.html>`__ diff --git a/source/read/specify-documents-to-return.txt b/source/read/specify-documents-to-return.txt index 24a529a..9af38dc 100644 --- a/source/read/specify-documents-to-return.txt +++ b/source/read/specify-documents-to-return.txt @@ -173,8 +173,8 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `FindPublisher <{+rs-driver-api+}/FindPublisher.html>`__ -- `find() <{+rs-driver-api+}/MongoCollection.html#find()>`__ -- `limit() <{+rs-driver-api+}/FindPublisher.html#limit(int)>`__ -- `sort() <{+rs-driver-api+}/FindPublisher.html#sort(org.bson.conversions.Bson)>`__ -- `skip() <{+rs-driver-api+}/FindPublisher.html#skip(int)>`__ \ No newline at end of file +- `FindPublisher <{+driver-api+}/FindPublisher.html>`__ +- `find() <{+driver-api+}/MongoCollection.html#find()>`__ +- `limit() <{+driver-api+}/FindPublisher.html#limit(int)>`__ +- `sort() <{+driver-api+}/FindPublisher.html#sort(org.bson.conversions.Bson)>`__ +- `skip() <{+driver-api+}/FindPublisher.html#skip(int)>`__ \ No newline at end of file diff --git a/source/read/specify-fields-return.txt b/source/read/specify-fields-return.txt index ec607f6..8f98c4c 100644 --- a/source/read/specify-fields-return.txt +++ b/source/read/specify-fields-return.txt @@ -162,5 +162,5 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API Documentation: -- `find() <{+rs-driver-api+}/MongoCollection.html#find()>`__ -- `FindPublisher <{+rs-driver-api+}/FindPublisher.html>`__ \ No newline at end of file +- `find() <{+driver-api+}/MongoCollection.html#find()>`__ +- `FindPublisher <{+driver-api+}/FindPublisher.html>`__ \ No newline at end of file diff --git a/source/security/enterprise-authentication.txt b/source/security/enterprise-authentication.txt index aceb995..41bad3c 100644 --- a/source/security/enterprise-authentication.txt +++ b/source/security/enterprise-authentication.txt @@ -154,11 +154,11 @@ You might need to specify one or more of the following additional instance, and pass the property name and value as parameters. Use the property name constants defined in the ``MongoCredential`` class: - - `SERVICE_NAME_KEY <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#SERVICE_NAME_KEY>`__ - - `CANONICALIZE_HOST_NAME_KEY <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#CANONICALIZE_HOST_NAME_KEY>`__ - - `JAVA_SUBJECT_KEY <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SUBJECT_KEY>`__ - - `JAVA_SASL_CLIENT_PROPERTIES_KEY <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SASL_CLIENT_PROPERTIES_KEY>`__ - - `JAVA_SUBJECT_PROVIDER_KEY <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SUBJECT_PROVIDER_KEY>`__ + - `SERVICE_NAME_KEY <{+api-root+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#SERVICE_NAME_KEY>`__ + - `CANONICALIZE_HOST_NAME_KEY <{+api-root+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#CANONICALIZE_HOST_NAME_KEY>`__ + - `JAVA_SUBJECT_KEY <{+api-root+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SUBJECT_KEY>`__ + - `JAVA_SASL_CLIENT_PROPERTIES_KEY <{+api-root+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SASL_CLIENT_PROPERTIES_KEY>`__ + - `JAVA_SUBJECT_PROVIDER_KEY <{+api-root+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#JAVA_SUBJECT_PROVIDER_KEY>`__ Select the :guilabel:`SERVICE_NAME_KEY` or :guilabel:`JAVA_SUBJECT_KEY` tab to see how to specify the corresponding property: diff --git a/source/whats-new.txt b/source/whats-new.txt index 9330692..59dab0d 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -67,7 +67,7 @@ and features: .. replacement:: vector-type-example-link To learn about this type, see the - `BinaryVector <{+api+}/bson/org/bson/BinaryVector.html>`__ + `BinaryVector <{+api-root+}/bson/org/bson/BinaryVector.html>`__ API documentation. .. replacement:: update-replace-example-link diff --git a/source/write/bulk-writes.txt b/source/write/bulk-writes.txt index 49574e7..098e852 100644 --- a/source/write/bulk-writes.txt +++ b/source/write/bulk-writes.txt @@ -584,7 +584,7 @@ guide, see the following API documentation: - Collection Bulk Write - `bulkWrite() - <{+rs-driver-api+}/MongoCollection.html#bulkWrite(com.mongodb.reactivestreams.client.ClientSession,java.util.List)>`__ + <{+driver-api+}/MongoCollection.html#bulkWrite(com.mongodb.reactivestreams.client.ClientSession,java.util.List)>`__ - `InsertOneModel <{+core-api+}/client/model/InsertOneModel.html>`__ - `UpdateOneModel <{+core-api+}/client/model/UpdateOneModel.html>`__ - `UpdateManyModel <{+core-api+}/client/model/UpdateManyModel.html>`__ @@ -598,7 +598,7 @@ guide, see the following API documentation: - Client Bulk Write - `bulkWrite() - <{+rs-driver-api+}/MongoCluster.html#bulkWrite(java.util.List,com.mongodb.client.model.bulk.ClientBulkWriteOptions)>`__ + <{+driver-api+}/MongoCluster.html#bulkWrite(java.util.List,com.mongodb.client.model.bulk.ClientBulkWriteOptions)>`__ - `ClientNamespacedWriteModel <{+core-api+}/client/model/bulk/ClientNamespacedWriteModel.html>`__ - `MongoNamespace <{+core-api+}/MongoNamespace.html>`__ - `ClientBulkWriteOptions <{+core-api+}/client/model/bulk/ClientBulkWriteOptions.html>`__ diff --git a/source/write/insert-documents.txt b/source/write/insert-documents.txt index cbec3fd..bd6d90f 100644 --- a/source/write/insert-documents.txt +++ b/source/write/insert-documents.txt @@ -201,10 +201,10 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `insertOne() <{+rs-driver-api+}/MongoCollection.html#insertOne(com.mongodb.reactivestreams.client.ClientSession,TDocument)>`__ +- `insertOne() <{+driver-api+}/MongoCollection.html#insertOne(com.mongodb.reactivestreams.client.ClientSession,TDocument)>`__ - `insertMany() - <{+rs-driver-api+}/MongoCollection.html#insertMany(com.mongodb.reactivestreams.client.ClientSession,java.util.List)>`__ + <{+driver-api+}/MongoCollection.html#insertMany(com.mongodb.reactivestreams.client.ClientSession,java.util.List)>`__ - `InsertOneOptions <{+core-api+}/client/model/InsertOneOptions.html>`__ - `InsertManyOptions <{+core-api+}/client/model/InsertManyOptions.html>`__ -- `BsonValue <{+api+}/bson/org/bson/BsonValue.html>`__ \ No newline at end of file +- `BsonValue <{+api-root+}/bson/org/bson/BsonValue.html>`__ \ No newline at end of file diff --git a/source/write/replace-documents.txt b/source/write/replace-documents.txt index 40204e9..942abfe 100644 --- a/source/write/replace-documents.txt +++ b/source/write/replace-documents.txt @@ -218,8 +218,8 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `replaceOne() <{+rs-driver-api+}/MongoCollection.html#replaceOne(org.bson.conversions.Bson,TDocument)>`__ +- `replaceOne() <{+driver-api+}/MongoCollection.html#replaceOne(org.bson.conversions.Bson,TDocument)>`__ - `ReplaceOptions <{+core-api+}/client/model/ReplaceOptions.html>`__ - `UpdateResult <{+core-api+}/client/result/UpdateResult.html>`__ -- `BsonValue <{+api+}/bson/org/bson/BsonValue.html>`__ \ No newline at end of file +- `BsonValue <{+api-root+}/bson/org/bson/BsonValue.html>`__ \ No newline at end of file diff --git a/source/write/run-command.txt b/source/write/run-command.txt index 8cad2bb..c501ba7 100644 --- a/source/write/run-command.txt +++ b/source/write/run-command.txt @@ -67,4 +67,4 @@ API Documentation ~~~~~~~~~~~~~~~~~ To learn more about the ``runCommand()`` method, see the -`runCommand() API documentation <{+rs-driver-api+}/MongoDatabase.html#runCommand(org.bson.conversions.Bson)>`__. +`runCommand() API documentation <{+driver-api+}/MongoDatabase.html#runCommand(org.bson.conversions.Bson)>`__. diff --git a/source/write/transactions.txt b/source/write/transactions.txt index 08ca52a..eb35be3 100644 --- a/source/write/transactions.txt +++ b/source/write/transactions.txt @@ -135,8 +135,8 @@ API Documentation To learn more about any of the types or methods discussed in this guide, see the following API Documentation: -- `MongoClient <{+rs-driver-api+}/MongoClient.html>`__ -- `startSession() <{+rs-driver-api+}/MongoClient.html#startSession()>`__ -- `startTransaction() <{+rs-driver-api+}/ClientSession.html#startTransaction()>`__ -- `abortTransaction() <{+rs-driver-api+}/ClientSession.html#abortTransaction()>`__ -- `commitTransaction() <{+rs-driver-api+}/ClientSession.html#commitTransaction()>`__ +- `MongoClient <{+driver-api+}/MongoClient.html>`__ +- `startSession() <{+driver-api+}/MongoClient.html#startSession()>`__ +- `startTransaction() <{+driver-api+}/ClientSession.html#startTransaction()>`__ +- `abortTransaction() <{+driver-api+}/ClientSession.html#abortTransaction()>`__ +- `commitTransaction() <{+driver-api+}/ClientSession.html#commitTransaction()>`__ diff --git a/source/write/write-delete-documents.txt b/source/write/write-delete-documents.txt index 8cd8bfe..be755d1 100644 --- a/source/write/write-delete-documents.txt +++ b/source/write/write-delete-documents.txt @@ -176,13 +176,13 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `deleteOne() <{+rs-driver-api+}/MongoCollection.html#deleteOne(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson)>`__ +- `deleteOne() <{+driver-api+}/MongoCollection.html#deleteOne(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson)>`__ - `deleteMany() - <{+rs-driver-api+}/MongoCollection.html#deleteMany(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson)>`__ + <{+driver-api+}/MongoCollection.html#deleteMany(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson)>`__ - `DeleteOptions <{+core-api+}/client/model/DeleteOptions.html>`__ - `BsonValue - <{+api+}/bson/org/bson/BsonValue.html>`__ + <{+api-root+}/bson/org/bson/BsonValue.html>`__ - `Collation <{+core-api+}/client/model/Collation.html>`__ diff --git a/source/write/write-update-documents.txt b/source/write/write-update-documents.txt index 5ad370b..30a01c1 100644 --- a/source/write/write-update-documents.txt +++ b/source/write/write-update-documents.txt @@ -278,13 +278,13 @@ API Documentation To learn more about any of the methods or types discussed in this guide, see the following API documentation: -- `updateOne() <{+rs-driver-api+}/MongoCollection.html#updateOne(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson,java.util.List)>`__ +- `updateOne() <{+driver-api+}/MongoCollection.html#updateOne(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson,java.util.List)>`__ - `updateMany() - <{+rs-driver-api+}/MongoCollection.html#updateMany(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson,java.util.List)>`__ + <{+driver-api+}/MongoCollection.html#updateMany(com.mongodb.reactivestreams.client.ClientSession,org.bson.conversions.Bson,java.util.List)>`__ - `UpdateOptions <{+core-api+}/client/model/UpdateOptions.html>`__ - `UpdateResult <{+core-api+}/client/result/UpdateResult.html>`__ - `BsonValue - <{+api+}/bson/org/bson/BsonValue.html>`__ + <{+api-root+}/bson/org/bson/BsonValue.html>`__ - `Collation <{+core-api+}/client/model/Collation.html>`__ \ No newline at end of file