Skip to content

Commit 615b542

Browse files
committed
DOCSP-51782 - Post-CC quick fixes (#655)
(cherry picked from commit 454b85a) (cherry picked from commit 76674a9)
1 parent cb3b450 commit 615b542

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+408
-409
lines changed

snooty.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ last-version-2-number = "2.30"
3636
version = "v{+version-number+}"
3737
example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples"
3838
stable-api = "Stable API"
39-
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}/html"
40-
new-api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
39+
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
4140
bool-data-type = "``boolean``"
4241
string-data-type = "``string``"
4342
int-data-type = "``integer``"

source/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ performing aggregation operations:
100100
of 16 megabytes.
101101

102102
- Pipeline stages have a memory limit of 100 megabytes by default. If required, you can exceed this limit by setting
103-
the `AllowDiskUse <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
103+
the `AllowDiskUse <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
104104
property of the ``AggregateOptions`` object that you pass to the ``Aggregate()`` method.
105105

106106
Troubleshooting

source/aggregation/linq.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,5 +1042,5 @@ API Documentation
10421042

10431043
For a complete list of supported LINQ methods, see the following API documentation:
10441044

1045-
- `LINQ <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
1046-
- `MongoQueryable <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__
1045+
- `LINQ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
1046+
- `MongoQueryable <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__

source/aggregation/stages.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ To learn more about creating pipeline stages, see
342342
For more information about the methods and classes used on this page, see the
343343
following API documentation:
344344

345-
- `Aggregate() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
346-
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
347-
- `EmptyPipelineDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
348-
- `BsonDocument <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
345+
- `Aggregate() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
346+
- `AggregateOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
347+
- `EmptyPipelineDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
348+
- `BsonDocument <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
349349
- `PipelineDefinitionBuilder.AppendStage()
350-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
350+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__

source/connect/connection-options.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,11 +1091,11 @@ Miscellaneous Options
10911091
.. tip:: Freeze Settings
10921092

10931093
You can freeze the settings on a ``MongoClientSettings`` object by calling its
1094-
`Freeze() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.Freeze.html>`__
1094+
`Freeze() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.Freeze.html>`__
10951095
method. This prevents any further changes to the settings.
10961096

10971097
Alternatively, you can call the `FrozenCopy()
1098-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.FrozenCopy.html>`__
1098+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.FrozenCopy.html>`__
10991099
method to create a new ``MongoClientSettings`` object with the current settings frozen.
11001100

11011101
LibraryInfo
@@ -1349,22 +1349,22 @@ Additional Information
13491349
For more information about the types used on this page, see the
13501350
following API documentation:
13511351

1352-
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
1353-
- `MongoUrl <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrl.html>`__
1354-
- `MongoUrlBuilder <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrlBuilder.html>`__
1355-
- `AutoEncryptionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AutoEncryptionOptions.html>`__
1356-
- `ClusterDescriptionChangedEvent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterDescriptionChangedEvent.html>`__
1357-
- `ClusterOpenedEvent <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterOpenedEvent.html>`__
1358-
- `CollectionNamespace <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.CollectionNamespace.html>`__
1359-
- `CompressorConfiguration <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.CompressorConfiguration.html>`__
1360-
- `CompressorType <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Compression.CompressorType.html>`__
1361-
- `ConnectionStringScheme <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.ConnectionStringScheme.html>`__
1362-
- `ExpressionTranslationOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
1363-
- `LoggingSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.LoggingSettings.html>`__
1364-
- `MongoCredential <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Credential.html>`__
1365-
- `MongoServerAddress <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoServerAddress.html>`__
1366-
- `ReadConcern <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcern.html>`__
1367-
- `ReadConcernLevel <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcernLevel.html>`__
1368-
- `ReadPreference <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
1369-
- `ServerApi <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
1370-
- `WriteConcern <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.WriteConcern.html>`__
1352+
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
1353+
- `MongoUrl <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrl.html>`__
1354+
- `MongoUrlBuilder <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoUrlBuilder.html>`__
1355+
- `AutoEncryptionOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AutoEncryptionOptions.html>`__
1356+
- `ClusterDescriptionChangedEvent <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterDescriptionChangedEvent.html>`__
1357+
- `ClusterOpenedEvent <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Events.ClusterOpenedEvent.html>`__
1358+
- `CollectionNamespace <{+api-root+}/MongoDB.Driver/MongoDB.Driver.CollectionNamespace.html>`__
1359+
- `CompressorConfiguration <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.CompressorConfiguration.html>`__
1360+
- `CompressorType <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Compression.CompressorType.html>`__
1361+
- `ConnectionStringScheme <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.ConnectionStringScheme.html>`__
1362+
- `ExpressionTranslationOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
1363+
- `LoggingSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Configuration.LoggingSettings.html>`__
1364+
- `MongoCredential <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Credential.html>`__
1365+
- `MongoServerAddress <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoServerAddress.html>`__
1366+
- `ReadConcern <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcern.html>`__
1367+
- `ReadConcernLevel <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadConcernLevel.html>`__
1368+
- `ReadPreference <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
1369+
- `ServerApi <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
1370+
- `WriteConcern <{+api-root+}/MongoDB.Driver/MongoDB.Driver.WriteConcern.html>`__

source/connect/connection-options/connection-pools.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,5 @@ API Documentation
147147
To learn more about any of the methods or types discussed in this
148148
guide, see the following API documentation:
149149

150-
- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
151-
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
150+
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
151+
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__

source/connect/connection-options/network-compression.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ specify the algorithms you want to use in one of the following ways:
5252
:tabid: mongoclientsettings
5353

5454
To enable compression by using
55-
`MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
55+
`MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
5656
set the ``Compressors`` property of your ``MongoClientSettings`` object to a
5757
``List`` of one or more ``CompressorConfiguration`` objects. Each
5858
``CompressorConfiguration`` object in the ``List`` represents an algorithm you

source/connect/connection-options/server-selection.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class to select a server at random before the standard server selection logic ru
109109
:dedent:
110110

111111
To learn more about the different server selector classes, see the
112-
`ServerSelectors API documentation <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__.
112+
`ServerSelectors API documentation <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__.
113113

114114
Implementing Custom Server Selection Logic
115115
------------------------------------------
@@ -158,7 +158,7 @@ in your connection URI:
158158
| still be eligible for server selection. Specifying ``-1`` means no maximum.
159159
| See :ref:`read preference <read-preference>` for more information.
160160
|
161-
| **Data Type**: `ReadPreference <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
161+
| **Data Type**: `ReadPreference <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ReadPreference.html>`__
162162
| **Default**: ``ReadPreference.Primary``
163163
| **Connection URI Example**:
164164

@@ -187,9 +187,9 @@ API Documentation
187187
To learn more about the classes and methods used in this guide, see the following API
188188
documentation:
189189

190-
- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
191-
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
192-
- `ClusterConfigurator <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.ClusterConfigurator.html>`__
193-
- `ServerSelectors <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__
194-
- `IServerSelector <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.html>`__
195-
- `SelectServer() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.SelectServers.html>`__
190+
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
191+
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
192+
- `ClusterConfigurator <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.ClusterConfigurator.html>`__
193+
- `ServerSelectors <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.html>`__
194+
- `IServerSelector <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.html>`__
195+
- `SelectServer() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Core.Clusters.ServerSelectors.IServerSelector.SelectServers.html>`__

source/connect/connection-options/stable-api.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ API Documentation
115115
For more information on using the {+stable-api+} with the {+driver-long+}, see the
116116
following API documentation:
117117

118-
- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
119-
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
120-
- `ServerApiVersion <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApiVersion.html>`__
121-
- `ServerApi <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
118+
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
119+
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
120+
- `ServerApiVersion <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApiVersion.html>`__
121+
- `ServerApi <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ServerApi.html>`__
122122

source/connect/connection-targets.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,5 @@ API Documentation
174174

175175
To learn more about the types discussed in this guide, see the following API documentation:
176176

177-
- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
178-
- `MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__
177+
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
178+
- `MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__

0 commit comments

Comments
 (0)