Skip to content

Commit e40d3b8

Browse files
author
Chris Cho
authored
add csharp docs latest to extlinks (#567)
1 parent c2bd9a1 commit e40d3b8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
'mms-home': ('https://cloud.mongodb.com%s', ''),
7070
'guides': ('https://docs.mongodb.com/guides%s', ''),
7171
'java-docs-latest': ('https://mongodb.github.io/mongo-java-driver/3.11/%s', ''),
72+
'csharp-docs-latest': ('http://mongodb.github.io/mongo-csharp-driver/2.9%s', ''),
7273
'aws-docs': ('https://docs.aws.amazon.com/%s', ''),
7374
'wikipedia': ('https://en.wikipedia.org/wiki/%s', ''),
7475
}

source/drivers/csharp.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Introduction
2020
The official MongoDB C#/.NET Driver provides asynchronous interaction
2121
with MongoDB.
2222

23-
- `Getting Started <http://mongodb.github.io/mongo-csharp-driver/2.8/getting_started/>`__
23+
- :csharp-docs-latest:`Getting Started </getting_started/>`
2424

2525
- `Usage Guide <http://mongodb.github.io/mongo-csharp-driver/?jmp=docs>`__
2626

2727
- `API Reference <http://api.mongodb.com/csharp/current?jmp=docs>`_
2828

29-
- `Changelog <http://mongodb.github.io/mongo-csharp-driver/2.8/what_is_new/>`__
29+
- :csharp-docs-latest:`Changelog </what_is_new/>`
3030

3131
- `Source Code <https://github.com/mongodb/mongo-csharp-driver>`__
3232

@@ -36,8 +36,8 @@ Installation
3636

3737
``NuGet`` is the simplest way to get the driver. `MongoDB.Driver <http://www.nuget.org/packages/mongodb.driver>`__ should be used for all new projects.
3838

39-
For more information, see `Installation
40-
<http://mongodb.github.io/mongo-csharp-driver/2.8/getting_started/installation/>`_.
39+
For more information, see :csharp-docs-latest:`Installation
40+
</getting_started/installation/>`.
4141

4242

4343
Connect to MongoDB Atlas
@@ -56,7 +56,7 @@ To connect to a `MongoDB Atlas <https://docs.atlas.mongodb.com/>`_ cluster, use
5656
var database = client.GetDatabase("test");
5757

5858

59-
See `Connecting <http://mongodb.github.io/mongo-csharp-driver/2.7/reference/driver/connecting/>`__
59+
See :csharp-docs-latest:`Connecting </reference/driver/connecting/>`
6060
for more information.
6161

6262

0 commit comments

Comments
 (0)