Skip to content

Commit 7ce2aa8

Browse files
committed
php directives
1 parent 61a36a7 commit 7ce2aa8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

source/connect/connection-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Read Preference Options
213213
- Description
214214

215215
* - :manual:`readPreference </reference/connection-string-options/#mongodb-urioption-urioption.readpreference>`
216-
- | **Data Type**: `MongoDB\\Driver\\ReadPreference <https://www.php.net/manual/en/class.mongodb-driver-readpreference.php>`__
216+
- | **Data Type**: :php:`MongoDB\Driver\ReadPreference <mongodb-driver-readpreference>`
217217
| **MongoDB\\Client Example**: ``$uriOptions = ['readPreference' => 'secondaryPreferred'];``
218218
| **Connection URI Example**: ``readPreference=secondaryPreferred``
219219

@@ -325,4 +325,4 @@ API documentation:
325325
For more information about the ``MongoDB\Driver\ReadPreference`` class, see the following
326326
{+extension-short+} API documentation:
327327

328-
- `MongoDB\\Driver\\ReadPreference <https://www.php.net/manual/en/class.mongodb-driver-readpreference.php>`__
328+
- :php:`MongoDB\Driver\ReadPreference <mongodb-driver-readpreference>`

source/connect/stable-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ API documentation:
116116
For more information about the ``MongoDB\Driver\ServerApi`` class, see the following
117117
{+extension-short+} API documentation:
118118

119-
- `MongoDB\\Driver\\ServerApi <https://www.php.net/manual/en/class.mongodb-driver-serverapi.php>`__
119+
- :php:`MongoDB\Driver\ServerApi <mongodb-driver-serverapi>`

source/get-started/download-and-install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Download and Install
1919
Before you begin developing, ensure that you have the following
2020
dependencies installed on your local machine:
2121

22-
- `PHP <https://www.php.net/manual/en/install.php>`__ version 7.4 or later
22+
- :php:`PHP <install>` version 7.4 or later
2323
- `Composer <https://getcomposer.org/download/>`__ version 2.0 or later
2424

2525
.. step:: Install the MongoDB PHP extension

source/tutorial/commands.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ The output might resemble the following:
9696
<mongodb-driver-manager.executecommand>` method in the extension detects
9797
such a response, it will construct an iterable command cursor and return it
9898
instead of the raw result document. If necessary, raw result documents can
99-
still be observed using `command monitoring
100-
<https://www.php.net/manual/en/mongodb.tutorial.apm.php>`_.
99+
still be observed using :php:`command monitoring
100+
<mongodb.tutorial.apm.>`.
101101

102102
Specifying a Custom Read Preference
103103
-----------------------------------

source/upgrade.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ application's directory:
6767
composer require mongodb/mongodb:<version-number>
6868

6969
Detailed installation instructions may be found in the
70-
:php:`PHP.net documentation <manual/en/mongodb.installation.php>`.
70+
:php:`PHP.net documentation <mongodb.installation>`.
7171

7272
.. _php-breaking-changes:
7373

0 commit comments

Comments
 (0)