Skip to content

Commit 5fb4ea9

Browse files
author
Chris Cho
authored
DOCSP-36898: fix seealso admonition formatting (#1230)
1 parent 26e876c commit 5fb4ea9

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

docs/tutorial/crud.txt

+27-9
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ The output would then resemble:
6868
Inserted 1 document(s)
6969
int(1)
7070

71-
.. seealso:: :phpmethod:`MongoDB\\Collection::insertOne()`
71+
.. seealso::
72+
73+
:phpmethod:`MongoDB\\Collection::insertOne()`
7274

7375
Insert Many Documents
7476
~~~~~~~~~~~~~~~~~~~~~
@@ -84,7 +86,9 @@ the inserted documents.
8486
:start-after: start-crud-include
8587
:end-before: end-crud-include
8688

87-
.. seealso:: :phpmethod:`MongoDB\\Collection::insertMany()`
89+
.. seealso::
90+
91+
:phpmethod:`MongoDB\\Collection::insertMany()`
8892

8993
Query Documents
9094
---------------
@@ -153,7 +157,9 @@ The output would then resemble:
153157
when matching an ``_id`` with an :manual:`ObjectId </reference/object-id/>`
154158
value, as strings and ObjectIds are not directly comparable.
155159

156-
.. seealso:: :phpmethod:`MongoDB\\Collection::findOne()`
160+
.. seealso::
161+
162+
:phpmethod:`MongoDB\\Collection::findOne()`
157163

158164
.. _php-find-many-documents:
159165

@@ -190,7 +196,9 @@ The output would resemble:
190196
07307
191197
07310
192198

193-
.. seealso:: :phpmethod:`MongoDB\\Collection::find()`
199+
.. seealso::
200+
201+
:phpmethod:`MongoDB\\Collection::find()`
194202

195203
.. _php-query-projection:
196204

@@ -387,7 +395,9 @@ An equivalent filter could be constructed using the :query:`$regex` operator:
387395
'state' => 'TX',
388396
]
389397

390-
.. seealso:: :manual:`$regex </reference/operator/query/regex>` in the MongoDB manual
398+
.. seealso::
399+
400+
:manual:`$regex </reference/operator/query/regex>` in the MongoDB manual
391401

392402
Although MongoDB's regular expression syntax is not exactly the same as PHP's
393403
:php:`PCRE <manual/en/book.pcre.php>` syntax, :php:`preg_quote() <preg_quote>`
@@ -446,7 +456,9 @@ The output would then resemble:
446456
PA has 1458 zip codes
447457
IL has 1237 zip codes
448458

449-
.. seealso:: :phpmethod:`MongoDB\\Collection::aggregate()`
459+
.. seealso::
460+
461+
:phpmethod:`MongoDB\\Collection::aggregate()`
450462

451463
Update Documents
452464
----------------
@@ -574,7 +586,9 @@ operation therefore resembles:
574586
Matched 3 document(s)
575587
Modified 2 document(s)
576588

577-
.. seealso:: :phpmethod:`MongoDB\\Collection::updateMany()`
589+
.. seealso::
590+
591+
:phpmethod:`MongoDB\\Collection::updateMany()`
578592

579593
Replace Documents
580594
~~~~~~~~~~~~~~~~~
@@ -737,7 +751,9 @@ The output would then resemble:
737751

738752
Deleted 1 document(s)
739753

740-
.. seealso:: :phpmethod:`MongoDB\\Collection::deleteOne()`
754+
.. seealso::
755+
756+
:phpmethod:`MongoDB\\Collection::deleteOne()`
741757

742758
Delete Many Documents
743759
~~~~~~~~~~~~~~~~~~~~~
@@ -773,4 +789,6 @@ The output would then resemble:
773789

774790
Deleted 2 document(s)
775791

776-
.. seealso:: :phpmethod:`MongoDB\\Collection::deleteMany()`
792+
.. seealso::
793+
794+
:phpmethod:`MongoDB\\Collection::deleteMany()`

docs/tutorial/modeling-bson-data.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ A type map may specify any class that implements
4545
``"array"``, ``"stdClass``", and ``"object"`` (``"stdClass``" and ``"object"``
4646
are aliases of one another).
4747

48-
.. seealso:: :php:`Deserialization from BSON <manual/en/mongodb.persistence.deserialization.php>` in the PHP manual
48+
.. seealso::
49+
50+
:php:`Deserialization from BSON <manual/en/mongodb.persistence.deserialization.php>` in the PHP manual
4951

5052

5153
Persistable Classes

0 commit comments

Comments
 (0)