Skip to content

Commit 76674a9

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

Some content is hidden

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

60 files changed

+419
-420
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
@@ -1010,5 +1010,5 @@ API Documentation
10101010

10111011
For a complete list of supported LINQ methods, see the following API documentation:
10121012

1013-
- `LINQ <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
1014-
- `MongoQueryable <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__
1013+
- `LINQ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
1014+
- `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
@@ -343,9 +343,9 @@ To learn more about creating pipeline stages, see
343343
For more information about the methods and classes used on this page, see the
344344
following API documentation:
345345

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

source/atlas-search.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -729,13 +729,13 @@ The ``SearchOptions`` class contains the following properties:
729729
* - ``CountOptions``
730730
- | The options for counting the search results.
731731

732-
| **Data type**: `SearchCountOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchCountOptions.html>`__
732+
| **Data type**: `SearchCountOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchCountOptions.html>`__
733733
| **Default**: ``null``
734734

735735
* - ``Highlight``
736736
- | The options for displaying search terms in their original context.
737737

738-
| **Data type**: `SearchHighlightOptions<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchHighlightOptions-1.html>`__
738+
| **Data type**: `SearchHighlightOptions<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchHighlightOptions-1.html>`__
739739
| **Default**: ``null``
740740

741741
* - ``IndexName``
@@ -776,13 +776,13 @@ The ``SearchOptions`` class contains the following properties:
776776
* - ``Sort``
777777
- | The sorting criteria to apply to the results.
778778

779-
| **Data type**: `SortDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinition-1.html>`__
779+
| **Data type**: `SortDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.SortDefinition-1.html>`__
780780
| **Default**: ``null``
781781

782782
* - ``Tracking``
783783
- | The options for tracking search terms.
784784

785-
| **Data type**: `SearchTrackingOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchTrackingOptions.html>`__
785+
| **Data type**: `SearchTrackingOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.SearchTrackingOptions.html>`__
786786
| **Default**: ``null``
787787

788788
SearchAfter Example

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

0 commit comments

Comments
 (0)