Skip to content

Commit b753722

Browse files
committed
DOCSP-51782 - Post-CC quick fixes (#655)
(cherry picked from commit 454b85a)
1 parent b4fddc4 commit b753722

Some content is hidden

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

61 files changed

+438
-439
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ documents from the ``restaurants`` collection where the ``RestaurantName`` field
578578
The preceding example returns a list of ``LookupResult`` objects that
579579
each contain a joined document. To learn more about the ``LookupResult`` class,
580580
see the `LookupResult API documentation
581-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.
581+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.
582582

583583
You can also use a ``Lookup()`` method overload to specify additional criteria
584584
for the join. The following example joins documents from the ``restaurants``
@@ -595,7 +595,7 @@ field in the ``restaurants`` collection and the ``ReviewText`` field in the
595595
.Where(review => review.ReviewText.Contains(restaurant.Name)));
596596

597597
To view a full list of overloads for the ``Lookup()`` method, see the `Lookup
598-
API documentation <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Lookup.html>`__.
598+
API documentation <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Lookup.html>`__.
599599

600600
GroupJoin()
601601
+++++++++++
@@ -1080,5 +1080,5 @@ API Documentation
10801080

10811081
For a complete list of supported LINQ methods, see the following API documentation:
10821082

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

347-
- `Aggregate() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
348-
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
349-
- `EmptyPipelineDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
350-
- `BsonDocument <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
347+
- `Aggregate() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
348+
- `AggregateOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
349+
- `EmptyPipelineDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
350+
- `BsonDocument <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
351351
- `PipelineDefinitionBuilder.AppendStage()
352-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
352+
<{+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
@@ -817,13 +817,13 @@ The ``SearchOptions`` class contains the following properties:
817817
* - ``CountOptions``
818818
- | The options for counting the search results.
819819

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

823823
* - ``Highlight``
824824
- | The options for displaying search terms in their original context.
825825

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

829829
* - ``IndexName``
@@ -864,13 +864,13 @@ The ``SearchOptions`` class contains the following properties:
864864
* - ``Sort``
865865
- | The sorting criteria to apply to the results.
866866

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

870870
* - ``Tracking``
871871
- | The options for tracking search terms.
872872

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

876876
SearchAfter Example

source/atlas-vector-search.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,14 @@ API Documentation
261261
To learn more about any of the functions or types discussed in this
262262
guide, see the following API Documentation:
263263

264-
- `BinaryVectorFloat32 <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorFloat32.html>`__
265-
- `BinaryVectorInt8 <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorInt8.html>`__
266-
- `BinaryVectorPackedBit <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorPackedBit.html>`__
267-
- `QueryVector <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.QueryVector.html>`__
268-
- `ToQueryVector() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.BinaryVectorDriverExtensions.ToQueryVector.html>`__
269-
- `IAggregateFluentExtensions.VectorSearch() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IAggregateFluentExtensions.VectorSearch.html>`__
264+
- `BinaryVectorFloat32 <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorFloat32.html>`__
265+
- `BinaryVectorInt8 <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorInt8.html>`__
266+
- `BinaryVectorPackedBit <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BinaryVectorPackedBit.html>`__
267+
- `QueryVector <{+api-root+}/MongoDB.Driver/MongoDB.Driver.QueryVector.html>`__
268+
- `ToQueryVector() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.BinaryVectorDriverExtensions.ToQueryVector.html>`__
269+
- `IAggregateFluentExtensions.VectorSearch() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IAggregateFluentExtensions.VectorSearch.html>`__
270270
- `Aggregate()
271-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.Aggregate.html>`__
272-
- `MongoQueryable.VectorSearch() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.VectorSearch.html>`__
271+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.Aggregate.html>`__
272+
- `MongoQueryable.VectorSearch() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.VectorSearch.html>`__
273273
- `PipelineStageDefinitionBuilder.VectorSearch()
274-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.VectorSearch.html>`__
274+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.VectorSearch.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>`__

0 commit comments

Comments
 (0)