Skip to content

Commit e60d636

Browse files
DOCSP-51782 - Post-CC quick fixes (#655) (#657)
(cherry picked from commit 454b85a) Co-authored-by: Mike Woofter <[email protected]>
1 parent 30aa1be commit e60d636

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
@@ -37,8 +37,7 @@ last-version-2-number = "2.30"
3737
version = "v{+version-number+}"
3838
example = "https://raw.githubusercontent.com/mongodb/docs-csharp/{+docs-branch+}/source/includes/code-examples"
3939
stable-api = "Stable API"
40-
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}/html"
41-
new-api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
40+
api-root = "https://mongodb.github.io/mongo-csharp-driver/{+version-number+}.0/api"
4241
bool-data-type = "``boolean``"
4342
string-data-type = "``string``"
4443
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
@@ -655,7 +655,7 @@ documents from the ``restaurants`` collection where the ``RestaurantName`` field
655655
The preceding example returns a list of ``LookupResult`` objects that
656656
each contain a joined document. To learn more about the ``LookupResult`` class,
657657
see the `LookupResult API documentation
658-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.
658+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LookupResult-2.html>`__.
659659

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

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

677677
GroupJoin()
678678
+++++++++++
@@ -1216,6 +1216,6 @@ API Documentation
12161216

12171217
For a complete list of supported LINQ methods, see the following API documentation:
12181218

1219-
- `LINQ <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
1219+
- `LINQ <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.html>`__
12201220
- `MongoQueryable
1221-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.html>`__
1221+
<{+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
@@ -355,9 +355,9 @@ To learn more about creating pipeline stages, see
355355
For more information about the methods and classes used on this page, see the
356356
following API documentation:
357357

358-
- `Aggregate() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
359-
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
360-
- `EmptyPipelineDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
361-
- `BsonDocument <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
358+
- `Aggregate() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
359+
- `AggregateOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
360+
- `EmptyPipelineDefinition<TDocument> <{+api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
361+
- `BsonDocument <{+api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
362362
- `PipelineDefinitionBuilder.AppendStage()
363-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
363+
<{+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
@@ -818,13 +818,13 @@ The ``SearchOptions`` class contains the following properties:
818818
* - ``CountOptions``
819819
- | The options for counting the search results.
820820

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

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

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

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

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

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

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

877877
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
@@ -55,7 +55,7 @@ specify the algorithms you want to use in one of the following ways:
5555
:tabid: mongoclientsettings
5656

5757
To enable compression by using
58-
`MongoClientSettings <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
58+
`MongoClientSettings <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClientSettings.html>`__,
5959
set the ``Compressors`` property of your ``MongoClientSettings`` object to a
6060
``List`` of one or more ``CompressorConfiguration`` objects. Each
6161
``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)