Skip to content

Commit 7288472

Browse files
committed
Use section heading for "See Also" links
1 parent c988443 commit 7288472

File tree

56 files changed

+307
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+307
-252
lines changed

docs/reference/method/MongoDBClient-dropDatabase.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ The output would then resemble::
6262
}
6363
}
6464

65-
.. seealso::
65+
See Also
66+
--------
6667

67-
- :phpmethod:`MongoDB\\Database::drop()`
68-
- :manual:`dropDatabase </reference/command/dropDatabase>` command reference
69-
in the MongoDB manual
68+
- :phpmethod:`MongoDB\\Database::drop()`
69+
- :manual:`dropDatabase </reference/command/dropDatabase>` command reference in
70+
the MongoDB manual

docs/reference/method/MongoDBClient-getManager.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Definition
2727

2828
A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object.
2929

30-
.. seealso::
30+
See Also
31+
--------
3132

32-
- :phpmethod:`MongoDB\\Collection::getManager()`
33-
- :phpmethod:`MongoDB\\Database::getManager()`
33+
- :phpmethod:`MongoDB\\Collection::getManager()`
34+
- :phpmethod:`MongoDB\\Database::getManager()`

docs/reference/method/MongoDBClient-listDatabases.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ The output would then resemble::
6969
bool(false)
7070
}
7171

72-
.. seealso::
72+
See Also
73+
--------
7374

74-
- :manual:`listDatabases </reference/command/listDatabases>` command
75-
reference in the MongoDB manual
75+
- :manual:`listDatabases </reference/command/listDatabases>` command reference
76+
in the MongoDB manual

docs/reference/method/MongoDBClient-selectCollection.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ with a custom read preference:
7070
]
7171
);
7272

73-
.. seealso::
73+
See Also
74+
--------
7475

75-
- :phpmethod:`MongoDB\\Collection::__construct()`
76-
- :phpmethod:`MongoDB\\Database::selectCollection()`
76+
- :phpmethod:`MongoDB\\Collection::__construct()`
77+
- :phpmethod:`MongoDB\\Database::selectCollection()`

docs/reference/method/MongoDBClient-selectDatabase.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ preference:
6969
]
7070
);
7171

72-
.. seealso::
72+
See Also
73+
--------
7374

74-
- :phpmethod:`MongoDB\\Client::__get()`
75-
- :phpmethod:`MongoDB\\Database::__construct()`
75+
- :phpmethod:`MongoDB\\Client::__get()`
76+
- :phpmethod:`MongoDB\\Database::__construct()`

docs/reference/method/MongoDBClient__construct.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ array, as was done in the legacy :php:`mongo extension <mongo>`.
6969
]
7070
);
7171

72-
.. seealso::
72+
See Also
73+
--------
7374

74-
- :php:`MongoDB\\Driver\\Manager::__construct()
75-
<mongodb-driver-manager.construct>`
75+
- :php:`MongoDB\\Driver\\Manager::__construct()
76+
<mongodb-driver-manager.construct>`

docs/reference/method/MongoDBClient__get.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ The following example selects the ``demo`` and ``another-app`` databases:
6060
$demo = $client->demo;
6161
$anotherApp = $client->{'another-app'};
6262

63-
.. seealso::
63+
See Also
64+
--------
6465

65-
- :phpmethod:`MongoDB\\Client::selectDatabase()`
66-
- :phpmethod:`MongoDB\\Database::__construct()`
67-
- :php:`Property Overloading <oop5.overloading>` in the PHP Manual
66+
- :phpmethod:`MongoDB\\Client::selectDatabase()`
67+
- :phpmethod:`MongoDB\\Database::__construct()`
68+
- :php:`Property Overloading <oop5.overloading>` in the PHP Manual

docs/reference/method/MongoDBCollection-aggregate.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ value will be :php:`Traversable <traversable>`.
5959

6060
.. todo: add examples
6161

62-
.. seealso::
62+
See Also
63+
--------
6364

64-
- :manual:`aggregate </reference/command/aggregate>` command reference in the
65-
MongoDB manual
66-
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>`
67-
documentation in the MongoDB Manual
65+
- :manual:`aggregate </reference/command/aggregate>` command reference in the
66+
MongoDB manual
67+
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>` documentation in
68+
the MongoDB Manual

docs/reference/method/MongoDBCollection-bulkWrite.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ Definition
3737

3838
.. todo: add output and examples
3939

40-
.. seealso::
41-
42-
- :phpmethod:`MongoDB\\Collection::deleteMany()`
43-
- :phpmethod:`MongoDB\\Collection::deleteOne()`
44-
- :phpmethod:`MongoDB\\Collection::insertMany()`
45-
- :phpmethod:`MongoDB\\Collection::insertOne()`
46-
- :phpmethod:`MongoDB\\Collection::replaceOne()`
47-
- :phpmethod:`MongoDB\\Collection::updateMany()`
48-
- :phpmethod:`MongoDB\\Collection::updateOne()`
49-
- :doc:`/tutorial/crud`
40+
See Also
41+
--------
42+
43+
- :phpmethod:`MongoDB\\Collection::deleteMany()`
44+
- :phpmethod:`MongoDB\\Collection::deleteOne()`
45+
- :phpmethod:`MongoDB\\Collection::insertMany()`
46+
- :phpmethod:`MongoDB\\Collection::insertOne()`
47+
- :phpmethod:`MongoDB\\Collection::replaceOne()`
48+
- :phpmethod:`MongoDB\\Collection::updateMany()`
49+
- :phpmethod:`MongoDB\\Collection::updateOne()`
50+
- :doc:`/tutorial/crud`

docs/reference/method/MongoDBCollection-count.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ Definition
3535

3636
.. todo: add output and examples
3737

38-
.. seealso::
38+
See Also
39+
--------
3940

40-
- :manual:`count </reference/command/count>` command reference in the MongoDB
41-
manual
41+
- :manual:`count </reference/command/count>` command reference in the MongoDB
42+
manual

docs/reference/method/MongoDBCollection-createIndex.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ The output would then resemble::
9191

9292
string(9) "borough_1"
9393

94-
.. seealso::
94+
See Also
95+
--------
9596

96-
- :phpmethod:`MongoDB\\Collection::createIndexes()`
97-
- :doc:`/tutorial/indexes`
98-
- :manual:`createIndexes </reference/command/createIndexes>` command
99-
reference in the MongoDB manual
100-
- :manual:`Index </indexes>` documentation in the MongoDB Manual
97+
- :phpmethod:`MongoDB\\Collection::createIndexes()`
98+
- :doc:`/tutorial/indexes`
99+
- :manual:`createIndexes </reference/command/createIndexes>` command reference
100+
in the MongoDB manual
101+
- :manual:`Index </indexes>` documentation in the MongoDB Manual

docs/reference/method/MongoDBCollection-createIndexes.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ The output would then resemble::
8282
string(9) "geo_index"
8383
}
8484

85-
.. seealso::
86-
87-
- :phpmethod:`MongoDB\\Collection::createIndex()`
88-
- :doc:`/tutorial/indexes`
89-
- :manual:`createIndexes </reference/command/createIndexes>` command
90-
reference in the MongoDB manual
91-
- :manual:`Index </indexes>` documentation in the MongoDB Manual
85+
See Also
86+
--------
87+
88+
- :phpmethod:`MongoDB\\Collection::createIndex()`
89+
- :doc:`/tutorial/indexes`
90+
- :manual:`createIndexes </reference/command/createIndexes>` command reference
91+
in the MongoDB manual
92+
- :manual:`Index </indexes>` documentation in the MongoDB Manual

docs/reference/method/MongoDBCollection-deleteMany.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ The output would then resemble::
5858

5959
Deleted 2 document(s)
6060

61-
.. seealso::
62-
63-
- :phpmethod:`MongoDB\\Collection::deleteOne()`
64-
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
65-
- :doc:`/tutorial/crud`
66-
- :manual:`delete </reference/command/delete` command reference in the
67-
MongoDB manual
61+
See Also
62+
--------
63+
64+
- :phpmethod:`MongoDB\\Collection::deleteOne()`
65+
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
66+
- :doc:`/tutorial/crud`
67+
- :manual:`delete </reference/command/delete` command reference in the MongoDB
68+
manual

docs/reference/method/MongoDBCollection-deleteOne.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ The output would then resemble::
6060

6161
Deleted 1 document(s)
6262

63-
.. seealso::
64-
65-
- :phpmethod:`MongoDB\\Collection::deleteMany()`
66-
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
67-
- :doc:`/tutorial/crud`
68-
- :manual:`delete command reference </reference/command/delete`
69-
in the MongoDB manual
63+
See Also
64+
--------
65+
66+
- :phpmethod:`MongoDB\\Collection::deleteMany()`
67+
- :phpmethod:`MongoDB\\Collection::bulkWrite()`
68+
- :doc:`/tutorial/crud`
69+
- :manual:`delete </reference/command/delete` command reference in the MongoDB
70+
manual

docs/reference/method/MongoDBCollection-distinct.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ The output would then resemble::
241241
string(29) "Vietnamese/Cambodian/Malaysia"
242242
}
243243

244-
.. seealso::
244+
See Also
245+
--------
245246

246-
- :manual:`distinct </reference/command/distinct>` command reference in the
247-
MongoDB manual
247+
- :manual:`distinct </reference/command/distinct>` command reference in the
248+
MongoDB manual

docs/reference/method/MongoDBCollection-drop.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ The output would then resemble::
6565
}
6666
}
6767

68-
.. seealso::
68+
See Also
69+
--------
6970

70-
- :phpmethod:`MongoDB\\Database::dropCollection()`
71-
- :manual:`drop </reference/command/drop>` command reference in the MongoDB
72-
manual
71+
- :phpmethod:`MongoDB\\Database::dropCollection()`
72+
- :manual:`drop </reference/command/drop>` command reference in the MongoDB
73+
manual

docs/reference/method/MongoDBCollection-dropIndex.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ The output would then resemble::
6363
}
6464
}
6565

66-
.. seealso::
67-
68-
- :phpmethod:`MongoDB\\Collection::dropIndexes()`
69-
- :doc:`/tutorial/indexes`
70-
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference
71-
in the MongoDB manual
72-
- :manual:`Index documentation </indexes>` in the MongoDB manual
66+
See Also
67+
--------
68+
69+
- :phpmethod:`MongoDB\\Collection::dropIndexes()`
70+
- :doc:`/tutorial/indexes`
71+
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference in
72+
the MongoDB manual
73+
- :manual:`Index documentation </indexes>` in the MongoDB manual

docs/reference/method/MongoDBCollection-dropIndexes.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,11 @@ The output would then resemble::
6666
}
6767
}
6868

69-
.. seealso::
70-
71-
- :phpmethod:`MongoDB\\Collection::dropIndex()`
72-
- :doc:`/tutorial/indexes`
73-
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference
74-
in the MongoDB manual
75-
- :manual:`Index documentation </indexes>` in the MongoDB manual
69+
See Also
70+
--------
71+
72+
- :phpmethod:`MongoDB\\Collection::dropIndex()`
73+
- :doc:`/tutorial/indexes`
74+
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference in
75+
the MongoDB manual
76+
- :manual:`Index documentation </indexes>` in the MongoDB manual

docs/reference/method/MongoDBCollection-find.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ The output would then resemble::
147147
}
148148
}
149149

150-
.. seealso::
150+
See Also
151+
--------
151152

152-
- :phpmethod:`MongoDB\\Collection::findOne()`
153-
- :manual:`find </reference/command/find>` command reference in the MongoDB
154-
manual
153+
- :phpmethod:`MongoDB\\Collection::findOne()`
154+
- :manual:`find </reference/command/find>` command reference in the MongoDB
155+
manual

docs/reference/method/MongoDBCollection-findOne.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ The output would then resemble::
8282
}
8383
}
8484

85-
.. seealso::
85+
See Also
86+
--------
8687

87-
- :phpmethod:`MongoDB\\Collection::find()`
88-
- :manual:`find </reference/command/find>` command reference in the MongoDB
89-
manual
88+
- :phpmethod:`MongoDB\\Collection::find()`
89+
- :manual:`find </reference/command/find>` command reference in the MongoDB
90+
manual

docs/reference/method/MongoDBCollection-findOneAndDelete.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ The output would then resemble::
7777
string(8) "40375376"
7878
}
7979

80-
.. seealso::
80+
See Also
81+
--------
8182

82-
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
83-
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
84-
- :manual:`findAndModify </reference/command/findAndModify>` command
85-
reference in the MongoDB manual
83+
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
84+
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
85+
- :manual:`findAndModify </reference/command/findAndModify>` command reference
86+
in the MongoDB manual

docs/reference/method/MongoDBCollection-findOneAndReplace.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ The output would then resemble::
124124
string(9) "999999999"
125125
}
126126

127-
.. seealso::
127+
See Also
128+
--------
128129

129-
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
130-
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
131-
- :manual:`findAndModify </reference/command/findAndModify>` command
132-
reference in the MongoDB manual
130+
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
131+
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
132+
- :manual:`findAndModify </reference/command/findAndModify>` command reference
133+
in the MongoDB manual

docs/reference/method/MongoDBCollection-findOneAndUpdate.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ The output would then resemble::
8888
}
8989
}
9090

91-
.. seealso::
91+
See Also
92+
--------
9293

93-
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
94-
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
95-
- :manual:`findAndModify </reference/command/findAndModify>` command
96-
reference in the MongoDB manual
94+
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
95+
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
96+
- :manual:`findAndModify </reference/command/findAndModify>` command reference
97+
in the MongoDB manual

docs/reference/method/MongoDBCollection-getCollectionName.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ The output would then resemble::
4343

4444
zips
4545

46-
.. seealso::
46+
See Also
47+
--------
4748

48-
- :phpmethod:`MongoDB\\Collection::getDatabaseName()`
49-
- :phpmethod:`MongoDB\\Collection::getNamespace()`
49+
- :phpmethod:`MongoDB\\Collection::getDatabaseName()`
50+
- :phpmethod:`MongoDB\\Collection::getNamespace()`

docs/reference/method/MongoDBCollection-getDatabaseName.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ The output would then resemble::
4343

4444
demo
4545

46-
.. seealso::
46+
See Also
47+
--------
4748

48-
- :phpmethod:`MongoDB\\Collection::getCollectionName()`
49-
- :phpmethod:`MongoDB\\Collection::getNamespace()`
49+
- :phpmethod:`MongoDB\\Collection::getCollectionName()`
50+
- :phpmethod:`MongoDB\\Collection::getNamespace()`
5051

docs/reference/method/MongoDBCollection-getManager.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Definition
2727

2828
A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object.
2929

30-
.. seealso::
30+
See Also
31+
--------
3132

32-
- :phpmethod:`MongoDB\\Client::getManager()`
33-
- :phpmethod:`MongoDB\\Database::getManager()`
33+
- :phpmethod:`MongoDB\\Client::getManager()`
34+
- :phpmethod:`MongoDB\\Database::getManager()`

0 commit comments

Comments
 (0)