Commit 40e8a2c3 authored by Jeremy Mikola's avatar Jeremy Mikola

Remove trailing slash from manual links

parent 92617a54
...@@ -15,12 +15,12 @@ Definition ...@@ -15,12 +15,12 @@ Definition
.. phpclass:: MongoDB\\GridFS\\Bucket .. phpclass:: MongoDB\\GridFS\\Bucket
:manual:`GridFS </core/gridfs/>` is a specification for storing and :manual:`GridFS </core/gridfs>` is a specification for storing and retrieving
retrieving files in MongoDB. GridFS uses two collections to store files. One files in MongoDB. GridFS uses two collections to store files. One collection
collection stores the file chunks (e.g. ``fs.chunks``), and the other stores stores the file chunks (e.g. ``fs.chunks``), and the other stores file
file metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` metadata (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class
class provides an interface around these collections for working with the provides an interface around these collections for working with the files as
files as PHP :php:`Streams <stream>`. PHP :php:`Streams <stream>`.
You can construct a GridFS bucket using the driver's You can construct a GridFS bucket using the driver's
:php:`Manager <class.mongodb-driver-manager>` class, or select a bucket from :php:`Manager <class.mongodb-driver-manager>` class, or select a bucket from
......
...@@ -16,7 +16,7 @@ Definition ...@@ -16,7 +16,7 @@ Definition
.. phpmethod:: MongoDB\\Collection::aggregate() .. phpmethod:: MongoDB\\Collection::aggregate()
Executes an :manual:`aggregation framework pipeline Executes an :manual:`aggregation framework pipeline
</core/aggregation-pipeline/>` operation on the collection. </core/aggregation-pipeline>` operation on the collection.
.. code-block:: php .. code-block:: php
......
...@@ -25,7 +25,7 @@ Definition ...@@ -25,7 +25,7 @@ Definition
collection in a command, such as when inserting a document into a new collection in a command, such as when inserting a document into a new
collection. You may also explicitly create a collection with specific options collection. You may also explicitly create a collection with specific options
using the :phpmethod:`MongoDB\\Database::createCollection()` method, or using using the :phpmethod:`MongoDB\\Database::createCollection()` method, or using
:manual:`db.createCollection() </reference/method/db.createCollection/>` in :manual:`db.createCollection() </reference/method/db.createCollection>` in
the :program:`mongo` shell. the :program:`mongo` shell.
Explicitly creating collections enables you to create Explicitly creating collections enables you to create
...@@ -96,4 +96,4 @@ See Also ...@@ -96,4 +96,4 @@ See Also
- :manual:`create </reference/command/create>` command reference in the MongoDB - :manual:`create </reference/command/create>` command reference in the MongoDB
manual manual
- :manual:`db.createCollection() </reference/method/db.createCollection/>` - :manual:`db.createCollection() </reference/method/db.createCollection>`
...@@ -206,8 +206,8 @@ The output would then resemble:: ...@@ -206,8 +206,8 @@ The output would then resemble::
Commands with Custom Read Preference Commands with Custom Read Preference
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some commands, such as :manual:`createUser </reference/command/createUser/>`, Some commands, such as :manual:`createUser </reference/command/createUser>`, may
may only be executed on a :term:`primary` replica set member or a only be executed on a :term:`primary` replica set member or a
:term:`standalone`. :term:`standalone`.
The command helper methods in the |php-library|, such as The command helper methods in the |php-library|, such as
...@@ -287,7 +287,7 @@ Iterate Results from a Cursor ...@@ -287,7 +287,7 @@ Iterate Results from a Cursor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some commands, such as :manual:`listCollections Some commands, such as :manual:`listCollections
</reference/command/listCollections/>`, return their results via an iterable </reference/command/listCollections>`, return their results via an iterable
cursor. To view the results, iterate through the cursor. cursor. To view the results, iterate through the cursor.
The following example lists the collections in the ``demo`` database by The following example lists the collections in the ``demo`` database by
......
...@@ -10,7 +10,7 @@ GridFS ...@@ -10,7 +10,7 @@ GridFS
:depth: 1 :depth: 1
:class: singlecol :class: singlecol
:manual:`GridFS </core/gridfs/>` is a specification for storing and retrieving :manual:`GridFS </core/gridfs>` is a specification for storing and retrieving
files in MongoDB. GridFS uses two collections to store files. One collection files in MongoDB. GridFS uses two collections to store files. One collection
stores the file chunks (e.g. ``fs.chunks``), and the other stores file metadata stores the file chunks (e.g. ``fs.chunks``), and the other stores file metadata
(e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class provides an (e.g. ``fs.files``). The :phpclass:`MongoDB\\GridFS\\Bucket` class provides an
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment