[CSHARP-1872] Invalid links of example files for builders/definition (documentation) Created: 22/Dec/16  Updated: 06/Jan/17  Resolved: 06/Jan/17

Status: Closed
Project: C# Driver
Component/s: Documentation
Affects Version/s: 2.3
Fix Version/s: 2.4.2

Type: Bug Priority: Minor - P4
Reporter: Wan Bachtiar Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

On the MongoDB .Net/C# driver documentation for definitions

http://mongodb.github.io/mongo-csharp-driver/2.3/reference/driver/definitions/

The page refers to 'tests' file for examples:

See the tests for examples.

The link to 'tests' is a broken link to :

https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Tests/FilterDefinitionBuilderTests.cs

It should have been

https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Tests/FilterDefinitionBuilderTests.cs

tests instead of src in the path link.

The above is an example link. This applies for other links refer on the page, and also for other version of the driver. i.e. 2.2



 Comments   
Comment by Githook User [ 06/Jan/17 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1872: Fix documentation links to sample code in tests.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/aec938641c4d7fa5d812b13420efafbba63430e9

Generated at Wed Feb 07 21:40:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.