Skip to content

Commit b66ec28

Browse files
authored
DOCSP-28133: link new c# docs (#39)
* DOCSP-28133: link to new c# docs * link fix
1 parent c54b8d8 commit b66ec28

File tree

7 files changed

+11
-15
lines changed

7 files changed

+11
-15
lines changed

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ query-api = "MongoDB Query API"
2222

2323
driver-long = "MongoDB .NET driver"
2424
driver-short = ".NET driver"
25-
driver-version = "2.18"
26-
driver-docs = "https://mongodb.github.io/mongo-csharp-driver/{+driver-version+}/"
25+
driver-version = "2.19"
26+
driver-docs = "https://www.mongodb.com/docs/drivers/csharp/current"
2727

source/code-type/builders.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A **builder** is a class provided by the {+driver-short+} to help you construct
1919
common operations like queries and updates.
2020

2121
To learn more about builders, see
22-
`Builders <{+driver-docs+}reference/driver/definitions/>`__ in the
22+
`Operations with Builders <{+driver-docs+}/fundamentals/builders/>`__ in the
2323
{+driver-short+} documentation.
2424

2525
Translate into the {+query-api+}

source/code-type/linq.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ can translate a subset of LINQ expressions into MongoDB aggregation pipelines.
2020

2121
To learn more about LINQ, see the following resources:
2222

23-
- `LINQ <{+driver-docs+}reference/driver/crud/linq/>`__ in the {+driver-short+}
23+
- `LINQ <{+driver-docs+}/fundamentals/linq/>`__ in the {+driver-short+}
2424
documentation
2525
- `LINQ <https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/>`__
2626
in the Microsoft C# guide
@@ -225,9 +225,6 @@ provider. To learn how to configure your LINQ provider, see the
225225

226226
Supported in LINQ3 only: db.coll.Aggregate([{ "$match" : { "$expr" : { "$eq" : [{ "$substrCP" : ["$Title", 0, { "$subtract" : [{ "$strLenCP" : "$Title" }, 0] }] }, "Pane"] } } }])
227227

228-
To learn more about LINQ3, see `LINQ3 <{+driver-docs+}reference/driver/crud/linq3/>`__
229-
in the {+driver-short+} documentation.
230-
231228
To view examples of expressions the {+driver-short+} only supports with the LINQ3 provider, see the
232229
`{+product+} Github repository
233230
<{+product-source-repo+}/blob/main/tests/MongoDB.Analyzer.Tests.Common.TestCases/Linq/NotSupportedLinq2.cs>`__.

source/configuration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To configure the {+product+}, perform the following actions:
3636
#. Add your configuration to your ``{+product-settings-file-constant+}`` file.
3737

3838
The following sample configuration makes the {+product+} use the
39-
`LINQ3 <{+driver-docs+}reference/driver/crud/linq3/>`__
39+
`LINQ3 <{+driver-docs+}/fundamentals/linq/>`__
4040
provider.
4141

4242
.. code-block:: json

source/faq.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ from Microsoft.
3838
Does the {+product+} Use Custom Serialization Settings?
3939
------------------------------------------------------------
4040

41-
No, the {+product+} does not use the custom seriliazation settings you specify for your
41+
No, the {+product+} does not use the custom serialization settings you specify for your
4242
{+driver-long+}.
4343

44-
To learn more about custom serilization settings, see
45-
`Serialization <{+driver-docs+}reference/bson/serialization/>`__
44+
To learn more about custom serialization settings, see
45+
`Data Formats <{+driver-docs+}/fundamentals/data-formats/>`__
4646
in the {+driver-short+} documentation.
4747

4848
Does the {+product+} use custom LINQ settings?

source/includes/telemetry-data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Your Code
1010
The following is the information the {+product+} collects about your code:
1111

1212
- The number of user-defined data types in your
13-
`mapping <{+driver-docs+}reference/bson/mapping/>`__
13+
`mapping <{+driver-docs+}/fundamentals/class-mapping/>`__
1414

1515
- The number of unsupported LINQ and builder expressions the {+product+} found in your code
1616

source/index.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ code:
3333

3434
The {+product+} can analyze the following groups of {+driver-short+} expressions:
3535

36-
- `Builders <{+driver-docs+}reference/driver/definitions/>`__
37-
- `LINQ <{+driver-docs+}reference/driver/crud/linq/>`__
38-
- `LINQ3 <{+driver-docs+}reference/driver/crud/linq3/>`__
36+
- `Builders <{+driver-docs+}/fundamentals/builders/>`__
37+
- `LINQ <{+driver-docs+}/fundamentals/linq/>`__
3938

4039
Read the following sections of this guide to learn how to install the
4140
{+product+}, how to use its features, and how to configure it:

0 commit comments

Comments
 (0)