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``:

source/reference/operator/aggregation/group.txt

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

589589
.. replacement:: method-name-and-link
590590

591-
`Group() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Group.html>`__
591+
`Group() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Group.html>`__
592592

593593
.. replacement:: stage-specific-info
594594

source/reference/operator/aggregation/limit.txt

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

116116
.. replacement:: method-name-and-link
117117

118-
`Limit() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Limit.html>`__
118+
`Limit() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Limit.html>`__
119119

120120
.. replacement:: stage-specific-info
121121

source/reference/operator/aggregation/lookup.txt

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

12351235
.. replacement:: method-name-and-link
12361236

1237-
`Lookup() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Lookup.html>`__
1237+
`Lookup() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Lookup.html>`__
12381238

12391239
.. replacement:: stage-specific-info
12401240

source/reference/operator/aggregation/match.txt

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

195195
.. replacement:: method-name-and-link
196196

197-
`Match() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Match.html>`__
197+
`Match() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Match.html>`__
198198

199199
.. replacement:: stage-specific-info
200200

source/reference/operator/aggregation/merge.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,12 +1560,12 @@ Examples
15601560

15611561
.. replacement:: method-name-and-link
15621562

1563-
`Merge() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Merge.html>`__
1563+
`Merge() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Merge.html>`__
15641564

15651565
.. replacement:: stage-specific-info
15661566

15671567
When you call the ``Merge()`` method, you must pass an instance of the
1568-
`MergeStageOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.MergeStageOptions-1.html>`__
1568+
`MergeStageOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.MergeStageOptions-1.html>`__
15691569
class. This object lets you specify options for the ``$merge`` stage, such as
15701570
how to handle matching documents.
15711571

source/reference/operator/aggregation/out.txt

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

476476
.. replacement:: method-name-and-link
477477

478-
`Out() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Out.html>`__
478+
`Out() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Out.html>`__
479479

480480
.. replacement:: stage-specific-info
481481

source/reference/operator/aggregation/project.txt

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

656656
.. replacement:: method-name-and-link
657657

658-
`Project() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Project.html>`__
658+
`Project() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Project.html>`__
659659

660660
.. replacement:: stage-specific-info
661661

source/reference/operator/aggregation/replaceRoot.txt

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

308308
.. replacement:: method-name-and-link
309309

310-
`ReplaceRoot() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ReplaceRoot.html>`__
310+
`ReplaceRoot() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ReplaceRoot.html>`__
311311

312312
.. replacement:: stage-specific-info
313313

source/reference/operator/aggregation/replaceWith.txt

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

392392
.. replacement:: method-name-and-link
393393

394-
`ReplaceWith() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ReplaceWith.html>`__
394+
`ReplaceWith() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.ReplaceWith.html>`__
395395

396396
.. replacement:: stage-specific-info
397397

source/reference/operator/aggregation/sample.txt

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

121121
.. replacement:: method-name-and-link
122122

123-
`Sample() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Sample.html>`__
123+
`Sample() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Sample.html>`__
124124

125125
.. replacement:: stage-specific-info
126126

source/reference/operator/aggregation/set.txt

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

348348
.. replacement:: method-name-and-link
349349

350-
`Set() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Set.html>`__
350+
`Set() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Set.html>`__
351351

352352
.. replacement:: stage-specific-info
353353

source/reference/operator/aggregation/setWindowFields.txt

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

989989
.. replacement:: method-name-and-link
990990

991-
`SetWindowFields() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.SetWindowFields.html>`__
991+
`SetWindowFields() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.SetWindowFields.html>`__
992992

993993
.. replacement:: stage-specific-info
994994

source/reference/operator/aggregation/skip.txt

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

103103
.. replacement:: method-name-and-link
104104

105-
`Skip() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Skip.html>`__
105+
`Skip() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Skip.html>`__
106106

107107
.. replacement:: stage-specific-info
108108

source/reference/operator/aggregation/sort.txt

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

328328
.. replacement:: method-name-and-link
329329

330-
`Sort() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Sort.html>`__
330+
`Sort() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Sort.html>`__
331331

332332
.. replacement:: stage-specific-info
333333

source/reference/operator/aggregation/sortByCount.txt

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

172172
.. replacement:: method-name-and-link
173173

174-
`SortByCount() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.SortByCount.html>`__
174+
`SortByCount() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.SortByCount.html>`__
175175

176176
.. replacement:: stage-specific-info
177177

source/reference/operator/aggregation/unionWith.txt

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

582582
.. replacement:: method-name-and-link
583583

584-
`UnionWith() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.UnionWith.html>`__
584+
`UnionWith() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.UnionWith.html>`__
585585

586586
.. replacement:: stage-specific-info
587587

source/reference/operator/aggregation/unwind.txt

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

531531
.. replacement:: method-name-and-link
532532

533-
`Unwind() <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Unwind.html>`__
533+
`Unwind() <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Unwind.html>`__
534534

535535
.. replacement:: stage-specific-info
536536

@@ -548,7 +548,7 @@ Examples
548548
:language: csharp
549549
:dedent: 8
550550

551-
You can use an `AggregateUnwindOptions <{+csharp-new-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateUnwindOptions.html>`__
551+
You can use an `AggregateUnwindOptions <{+csharp-api-docs+}/MongoDB.Driver/MongoDB.Driver.AggregateUnwindOptions.html>`__
552552
object to customize the behavior of the ``Unwind()`` method.
553553
The following example performs the same operation as the previous
554554
example, but also includes the following options:

0 commit comments

Comments
 (0)