Skip to content

Commit 8c1a8d4

Browse files
committed
Fix doc syntax and formatting
1 parent add2c8d commit 8c1a8d4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/reference/method/MongoDBCollection-createIndex.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ exists.
8282

8383
<?php
8484

85-
$collection = (new MongoDB\Client)->selectCollection('test, 'restaurants');
85+
$collection = (new MongoDB\Client)->selectCollection('test', 'restaurants');
8686

8787
$indexName = $collection->createIndex(
8888
['borough' => 1],

docs/reference/method/MongoDBCollection-deleteMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ See Also
7878
- :phpmethod:`MongoDB\\Collection::deleteOne()`
7979
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
8080
- :doc:`/tutorial/crud`
81-
- :manual:`delete </reference/command/delete` command reference in the MongoDB
81+
- :manual:`delete </reference/command/delete>` command reference in the MongoDB
8282
manual

docs/reference/method/MongoDBCollection-deleteOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ See Also
8080
- :phpmethod:`MongoDB\\Collection::deleteMany()`
8181
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
8282
- :doc:`/tutorial/crud`
83-
- :manual:`delete </reference/command/delete` command reference in the MongoDB
83+
- :manual:`delete </reference/command/delete>` command reference in the MongoDB
8484
manual

docs/tutorial/example-data.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The output would then resemble::
3939
You may also import the datasets using :manual:`mongoimport
4040
</reference/program/mongoimport>`, which is included with MongoDB:
4141

42-
.. code-block:: none
42+
.. code-block:: sh
4343

44-
$ mongoimport --db test --collection zips --file zips.json --drop
45-
$ mongoimport --db test --collection restaurants --file primer-dataset.json --drop
44+
mongoimport --db test --collection zips --file zips.json --drop
45+
mongoimport --db test --collection restaurants --file primer-dataset.json --drop

0 commit comments

Comments
 (0)