Skip to content

Commit adad2b1

Browse files
authored
Testing build errors (#12063)
* hm * cpp * replace constnat * final link
1 parent bbb2c0a commit adad2b1

27 files changed

+34
-34
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ examples:
172172
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-c-driver/master/src/libmongoc/tests/test-mongoc-sample-commands.c -o ${DRIVERS_PATH}/test-mongoc-sample-commands.c
173173

174174
# c++
175-
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/src/mongocxx/test/transactions.cpp -o ${DRIVERS_PATH}/cpp-transactions.cpp
175+
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/mongodb.com/transactions_examples.cpp -o ${DRIVERS_PATH}/cpp-transactions.cpp
176176
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/with_transaction.cpp -o ${DRIVERS_PATH}/cpp-with-transaction.cpp
177-
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/src/mongocxx/test/versioned_api.cpp -o ${DRIVERS_PATH}/cpp-versioned_api.cpp
177+
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/mongodb.com/versioned_api_examples.cpp -o ${DRIVERS_PATH}/cpp-versioned_api.cpp
178178
curl -SfL https://raw.githubusercontent.com/mongodb/mongo-cxx-driver/master/examples/mongocxx/mongodb.com/documentation_examples.cpp -o ${DRIVERS_PATH}/cpp-documentation-examples.cpp
179179

180180
# go

source/reference/operator/aggregation/bucket.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ Examples
550550

551551
.. replacement:: method-name-and-link
552552

553-
`Bucket() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Bucket.html>`__
553+
`Bucket() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Bucket.html>`__
554554

555555
.. replacement:: stage-specific-info
556556

@@ -568,7 +568,7 @@ Examples
568568
:end-before: // end bucket
569569

570570
To customize the ``$bucket`` operation, pass an
571-
`AggregateBucketOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketOptions-1.html>`__
571+
`AggregateBucketOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketOptions-1.html>`__
572572
object to the ``Bucket()`` method.
573573
The following example performs the same ``$bucket`` operation as the previous example,
574574
but groups all documents with a ``Runtime`` value greater than ``999`` into the

source/reference/operator/aggregation/bucketAuto.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ Example
601601

602602
.. replacement:: method-name-and-link
603603

604-
`BucketAuto() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.BucketAuto.html>`__
604+
`BucketAuto() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.BucketAuto.html>`__
605605

606606
.. replacement:: stage-specific-info
607607

@@ -618,7 +618,7 @@ Example
618618
:language: csharp
619619
:dedent: 8
620620

621-
You can use an `AggregateBucketAutoOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketAutoOptions.html>`__
621+
You can use an `AggregateBucketAutoOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateBucketAutoOptions.html>`__
622622
object to specify a :wikipedia:`preferred number <Preferred_number>`
623623
-based scheme to set boundary values.
624624
The following example performs the same ``$bucketAuto`` operation as the previous

source/reference/operator/aggregation/changeStream.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Examples
162162

163163
.. replacement:: method-name-and-link
164164

165-
`ChangeStream() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStream.html>`__
165+
`ChangeStream() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStream.html>`__
166166

167167
.. replacement:: stage-specific-info
168168

@@ -178,7 +178,7 @@ Examples
178178
:language: csharp
179179
:dedent: 8
180180

181-
You can use a `ChangeStreamStageOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamStageOptions.html>`__
181+
You can use a `ChangeStreamStageOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamStageOptions.html>`__
182182
object to customize the behavior of the change stream.
183183
The following example performs the same ``$changeStream`` operation as the previous
184184
example, but specifies the following options:

source/reference/operator/aggregation/changeStreamSplitLargeEvent.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Example
276276

277277
.. replacement:: method-name-and-link
278278

279-
`ChangeStreamSplitLargeEvent() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStreamSplitLargeEvent.html>`__
279+
`ChangeStreamSplitLargeEvent() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ChangeStreamSplitLargeEvent.html>`__
280280

281281
.. replacement:: stage-specific-info
282282

source/reference/operator/aggregation/count.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Examples
149149

150150
.. replacement:: method-name-and-link
151151

152-
`Count() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Count.html>`__
152+
`Count() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Count.html>`__
153153

154154
.. replacement:: stage-specific-info
155155

source/reference/operator/aggregation/densify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ Examples
606606

607607
.. replacement:: method-name-and-link
608608

609-
`Densify() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Densify.html>`__
609+
`Densify() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Densify.html>`__
610610

611611
.. replacement:: stage-specific-info
612612

source/reference/operator/aggregation/documents.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Examples
176176

177177
.. replacement:: method-name-and-link
178178

179-
`Documents() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Documents.html>`__
179+
`Documents() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Documents.html>`__
180180

181181
.. replacement:: stage-specific-info
182182

source/reference/operator/aggregation/facet.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Example
296296

297297
.. replacement:: method-name-and-link
298298

299-
`Facet() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Facet.html>`__
299+
`Facet() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Facet.html>`__
300300

301301
.. replacement:: stage-specific-info
302302

source/reference/operator/aggregation/graphLookup.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Examples
625625

626626
.. replacement:: method-name-and-link
627627

628-
`GraphLookup() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.GraphLookup.html>`__
628+
`GraphLookup() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.GraphLookup.html>`__
629629

630630
.. replacement:: stage-specific-info
631631

@@ -642,7 +642,7 @@ Examples
642642
:language: csharp
643643
:dedent: 8
644644

645-
You can use an `AggregateGraphLookupOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateGraphLookupOptions-3.html>`__
645+
You can use an `AggregateGraphLookupOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateGraphLookupOptions-3.html>`__
646646
object to specify the depth to recurse and name of the depth field. The following
647647
code example performs the same ``$graphLookup`` operation as the previous example,
648648
but specifies a maximum recursion depth of ``1``:

0 commit comments

Comments
 (0)