Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5185890

Browse files
authored
Update rst spec links to markdown (#1741)
1 parent f7f40b6 commit 5185890

24 files changed

+56
-56
lines changed

‎CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ The test suite references the following environment variables:
5858
`username` URI option for clients constructed by the test suite, which will
5959
override any credentials in the connection string itself.
6060

61-
The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.rst):
61+
The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.md):
6262

6363
* `API_VERSION`: If defined, this value will be used to construct a
6464
[`MongoDB\Driver\ServerApi`](https://www.php.net/manual/en/mongodb-driver-serverapi.construct.php),
6565
which will then be specified as the `serverApi` driver option for clients
6666
created by the test suite.
6767

68-
The following environment variables are used for [load balancer testing](https://github.com/mongodb/specifications/blob/master/source/load-balancers/tests/README.rst):
68+
The following environment variables are used for [load balancer testing](https://github.com/mongodb/specifications/blob/master/source/load-balancers/tests/README.md):
6969

7070
* `MONGODB_SINGLE_MONGOS_LB_URI`: Connection string to a load balancer backed
7171
by a single mongos host.
7272
* `MONGODB_MULTI_MONGOS_LB_URI`: Connection string to a load balancer backed by
7373
multiple mongos hosts.
7474

75-
The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst):
75+
The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.md):
7676

7777
* `AWS_ACCESS_KEY_ID`
7878
* `AWS_SECRET_ACCESS_KEY`

‎benchmark/src/DriverBench/MultiDocBench.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
final class MultiDocBench
2121
{
2222
/**
23-
* @see https://github.com/mongodb/specifications/blob/master/source/benchmarking/benchmarking.rst#find-many-and-empty-the-cursor
23+
* @see https://github.com/mongodb/specifications/blob/master/source/benchmarking/benchmarking.md#find-many-and-empty-the-cursor
2424
* @param array{options: array} $params
2525
*/
2626
#[BeforeMethods('beforeFindMany')]

‎src/ChangeStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function __construct(private ChangeStreamIterator $iterator, callable $re
173173
/**
174174
* Determines if an exception is a resumable error.
175175
*
176-
* @see https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst#resumable-error
176+
* @see https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md#resumable-error
177177
*/
178178
private function isResumableError(RuntimeException $exception): bool
179179
{

‎src/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public function command(array|object $command, array $options = []): CursorInter
268268
* collection.
269269
*
270270
* @see CreateCollection::__construct() for supported options
271-
* @see https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#create-collection-helper
271+
* @see https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.md#create-collection-helper
272272
* @see https://www.mongodb.com/docs/manual/core/queryable-encryption/fundamentals/manage-collections/
273273
* @throws UnsupportedException if options are not supported by the selected server
274274
* @throws InvalidArgumentException for parameter/option parsing errors

‎src/Model/ChangeStreamIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private function isAtEndOfBatch(): bool
270270
/**
271271
* Perform housekeeping after an iteration event.
272272
*
273-
* @see https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst#updating-the-cached-resume-token
273+
* @see https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md#updating-the-cached-resume-token
274274
*/
275275
private function onIteration(bool $incrementBatchPosition): void
276276
{

‎src/Model/CollectionInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* collection. It provides methods to access options for the collection.
3131
*
3232
* @see \MongoDB\Database::listCollections()
33-
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst
33+
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.md
3434
* @template-implements ArrayAccess<string, mixed>
3535
*/
3636
class CollectionInfo implements ArrayAccess

‎src/Model/IndexInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* db.collection.createIndex() documentation.
3535
*
3636
* @see \MongoDB\Collection::listIndexes()
37-
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst
37+
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.md
3838
* @see https://mongodb.com/docs/manual/reference/method/db.collection.createIndex/
3939
* @template-implements ArrayAccess<string, mixed>
4040
*/
@@ -152,7 +152,7 @@ public function offsetExists(mixed $offset): bool
152152
* also be used to access fields that do not have a helper method.
153153
*
154154
* @see https://php.net/arrayaccess.offsetget
155-
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst#getting-full-index-information
155+
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.md#getting-full-index-information
156156
* @psalm-param array-key $offset
157157
*/
158158
public function offsetGet(mixed $offset): mixed

‎src/Model/IndexInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* @internal
3737
* @see \MongoDB\Collection::createIndexes()
38-
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst
38+
* @see https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.md
3939
* @see https://mongodb.com/docs/manual/reference/method/db.collection.createIndex/
4040
*/
4141
final class IndexInput implements Serializable

‎src/Model/SearchIndexInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* @internal
3333
* @see \MongoDB\Collection::createSearchIndexes()
34-
* @see https://github.com/mongodb/specifications/blob/master/source/index-management/index-management.rst#search-indexes
34+
* @see https://github.com/mongodb/specifications/blob/master/source/index-management/index-management.md#search-indexes
3535
* @see https://mongodb.com/docs/manual/reference/method/db.collection.createSearchIndex/
3636
*/
3737
final class SearchIndexInput implements Serializable

‎src/Operation/CountDocuments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* Operation for obtaining an exact count of documents in a collection
3636
*
3737
* @see \MongoDB\Collection::countDocuments()
38-
* @see https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#countdocuments
38+
* @see https://github.com/mongodb/specifications/blob/master/source/crud/crud.md#countdocuments
3939
*/
4040
final class CountDocuments
4141
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /