Skip to content

Commit 0b0acdc

Browse files
authored
GODRIVER-2365 Update docs links in source and documentation (#909)
1 parent 9e44e0d commit 0b0acdc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+107
-107
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<a href="https://goreportcard.com/report/go.mongodb.org/mongo-driver"><img src="https://goreportcard.com/badge/go.mongodb.org/mongo-driver"></a>
44
<a href="https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo"><img src="etc/assets/godev-mongo-blue.svg" alt="docs"></a>
55
<a href="https://pkg.go.dev/go.mongodb.org/mongo-driver/bson"><img src="etc/assets/godev-bson-blue.svg" alt="docs"></a>
6-
<a href="https://docs.mongodb.com/drivers/go/current/"><img src="etc/assets/docs-mongodb-green.svg"></a>
6+
<a href="https://www.mongodb.com/docs/drivers/go/current/"><img src="etc/assets/docs-mongodb-green.svg"></a>
77
</p>
88

99
# MongoDB Go Driver
@@ -153,7 +153,7 @@ if err == mongo.ErrNoDocuments {
153153
// Do something with result...
154154
```
155155

156-
Additional examples and documentation can be found under the examples directory and [on the MongoDB Documentation website](https://docs.mongodb.com/drivers/go/current/).
156+
Additional examples and documentation can be found under the examples directory and [on the MongoDB Documentation website](https://www.mongodb.com/docs/drivers/go/current/).
157157

158158
-------------------------
159159
## Feedback
@@ -222,7 +222,7 @@ The MongoDB Go Driver supports wire protocol compression using Snappy, zLib, or
222222
MONGO_GO_DRIVER_COMPRESSOR=snappy make
223223
```
224224

225-
Ensure the [`--networkMessageCompressors` flag](https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-mongod-networkmessagecompressors) on mongod or mongos includes `zlib` if testing zLib compression.
225+
Ensure the [`--networkMessageCompressors` flag](https://www.mongodb.com/docs/manual/reference/program/mongod/#cmdoption-mongod-networkmessagecompressors) on mongod or mongos includes `zlib` if testing zLib compression.
226226

227227
-------------------------
228228
## Contribution

data/atlas-data-lake-testing/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Introduction
1010
============
1111

1212
The YAML and JSON files in this directory tree are platform-independent tests
13-
that drivers can use to assert compatibility with `Atlas Data Lake <https://docs.mongodb.com/datalake>`_.
13+
that drivers can use to assert compatibility with `Atlas Data Lake <https://www.mongodb.com/docs/datalake>`_.
1414

1515
Running these integration tests will require a running ``mongohoused``
1616
with data available in its ``test.driverdata`` collection. See the
@@ -42,7 +42,7 @@ The following tests MUST be implemented to fully test compatibility with
4242
Atlas Data Lake.
4343

4444
#. Test that the driver properly constructs and issues a
45-
`killCursors <https://docs.mongodb.com/manual/reference/command/killCursors/>`_
45+
`killCursors <https://www.mongodb.com/docs/manual/reference/command/killCursors/>`_
4646
command to Atlas Data Lake. For this test, configure an APM listener on a
4747
client and execute a query on the ``test.driverdata`` collection that will
4848
leave a cursor open on the server (e.g. specify ``batchSize=2`` for a query

data/client-side-encryption/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For example, the following matches a command_started_event for an insert of a do
4343
command_name: insert
4444

4545

46-
The values of `$$type` correspond to `these documented string representations of BSON types <https://docs.mongodb.com/manual/reference/bson-types/>`_.
46+
The values of `$$type` correspond to `these documented string representations of BSON types <https://www.mongodb.com/docs/manual/reference/bson-types/>`_.
4747

4848

4949
Each YAML file has the following keys:
@@ -548,7 +548,7 @@ The corpus test exhaustively enumerates all ways to encrypt all BSON value types
548548
5. Load `corpus/corpus.json <../corpus/corpus.json>`_ to a variable named ``corpus``. The corpus contains subdocuments with the following fields:
549549

550550
- ``kms`` is either ``aws``, ``azure``, ``gcp``, or ``local``
551-
- ``type`` is a BSON type string `names coming from here <https://docs.mongodb.com/manual/reference/operator/query/type/>`_)
551+
- ``type`` is a BSON type string `names coming from here <https://www.mongodb.com/docs/manual/reference/operator/query/type/>`_)
552552
- ``algo`` is either ``rand`` or ``det`` for random or deterministic encryption
553553
- ``method`` is either ``auto``, for automatic encryption or ``explicit`` for explicit encryption
554554
- ``identifier`` is either ``id`` or ``altname`` for the key identifier

data/crud/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Test that ``writeErrors[].errInfo`` in a command response is propagated as
255255
``WriteError.details`` (or equivalent) in the driver.
256256

257257
Using a 5.0+ server, create a collection with
258-
`document validation <https://docs.mongodb.com/manual/core/schema-validation/>`_
258+
`document validation <https://www.mongodb.com/docs/manual/core/schema-validation/>`_
259259
like so:
260260

261261
.. code:: javascript

data/crud/v1/read/aggregate-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tests:
1212
pipeline:
1313
- $match:
1414
x: 'PING'
15-
collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document
15+
collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1616
outcome:
1717
result:
1818
- {_id: 1, x: 'ping'}

data/crud/v1/read/count-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests:
1010
name: countDocuments
1111
arguments:
1212
filter: { x: 'ping' }
13-
collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document
13+
collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1414

1515
outcome:
1616
result: 1

data/crud/v1/read/distinct-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tests:
1111
name: distinct
1212
arguments:
1313
fieldName: "string"
14-
collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document
14+
collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1515

1616
outcome:
1717
result:

data/crud/v1/read/find-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests:
1010
name: "find"
1111
arguments:
1212
filter: {x: 'PING'}
13-
collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document
13+
collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1414
outcome:
1515
result:
1616
- {_id: 1, x: 'ping'}

data/crud/v1/write/bulkWrite-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ data:
88
minServerVersion: '3.4'
99
serverless: 'forbid'
1010

11-
# See: https://docs.mongodb.com/manual/reference/collation/#collation-document
11+
# See: https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1212
tests:
1313
-
1414
description: "BulkWrite with delete operations and collation"

data/crud/v1/write/deleteMany-collation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tests:
1313
arguments:
1414
filter:
1515
x: 'PING'
16-
collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document
16+
collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
1717

1818
outcome:
1919
result:

0 commit comments

Comments
 (0)