Skip to content

Commit 2270b99

Browse files
author
Chris Cho
authored
Merge pull request #155 from ccho-mongodb/DOCSP-25568-link-fix
DOCSP-25568: fix links
2 parents c27425b + 0d249bf commit 2270b99

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

source/fundamentals/collations.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _golang-collations:
2+
13
==========
24
Collations
35
==========
@@ -301,4 +303,4 @@ API Documentation:
301303
- `IndexModel <{+api+}/mongo#IndexModel>`__
302304
- `CreateOne() <{+api+}/mongo#IndexView.CreateOne>`__
303305
- `IndexOptions <{+api+}/mongo/options#IndexOptions>`__
304-
- `UpdateOptions <{+api+}/mongo/options#UpdateOptions>`__
306+
- `UpdateOptions <{+api+}/mongo/options#UpdateOptions>`__

source/fundamentals/crud/read-operations/retrieve.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ For runnable examples of the find operations, see the following usage
320320
examples:
321321

322322
- :ref:`golang-find-one`
323-
- :ref:`golang-find-one`
323+
- :ref:`golang-find-multiple`
324324

325325
To learn more about the operations mentioned, see the following
326326
guides:
@@ -332,20 +332,19 @@ guides:
332332
- :ref:`golang-limit`
333333
- :ref:`golang-project`
334334
- :ref:`golang-aggregation`
335-
336-
.. - :doc:`Collations </fundamentals/collations>`
335+
- :ref:`golang-collations`
337336

338337
API Documentation
339338
~~~~~~~~~~~~~~~~~
340339

341340
To learn more about any of the methods or types discussed in this
342341
guide, see the following API Documentation:
343342

343+
- `FindOne() <{+api+}/mongo#Collection.FindOne>`__
344+
- `SingleResult <{+api+}/mongo#SingleResult>`__
344345
- `Find() <{+api+}/mongo#Collection.Find>`__
345346
- `FindOptions <{+api+}/mongo/options#FindOptions>`__
346347
- `FindOneOptions <{+api+}/mongo/options#FindOneOptions>`__
347348
- `Cursor <{+api+}/mongo#Cursor>`__
348-
- `FindOne() <{+api+}/mongo#Collection.FindOne>`__
349-
- `SingleResult <{+api+}/mongo#SingleResult>`__
350349
- `Aggregate() <{+api+}/mongo#Collection.Aggregate>`__
351350
- `AggregateOptions <{+api+}/mongo/options#AggregateOptions>`__

source/quick-reference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ their related reference and API documentation.
3939
* - | **Find Multiple Documents**
4040
|
4141
| `API Documentation <{+api+}/mongo#Collection.Find>`__
42-
| :ref:`Usage Example <golang-find>`
42+
| :ref:`Usage Example <golang-find-multiple>`
4343
| :ref:`Fundamentals <golang-retrieve>`
4444

4545
- .. io-code-block::

source/usage-examples/deleteMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in the ``movies`` collection:
4242
{ "_id": ObjectId("573a1399f29313caabcee1aa"), ... , "runtime": 1140, ... },
4343
{ "_id": ObjectId("573a13a6f29313caabd18ae0"), ... , "runtime": 877, ... }
4444

45-
For an example on how to find multiple documents, see :ref:`golang-find`.
45+
For an example on how to find multiple documents, see :ref:`golang-find-multiple`.
4646

4747
Additional Information
4848
----------------------

source/usage-examples/find-operations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Find Operations
55
.. default-domain:: mongodb
66

77
- :ref:`golang-find-one`
8-
- :ref:`golang-find`
8+
- :ref:`golang-find-multiple`
99

1010
.. toctree::
1111
:caption: Examples

source/usage-examples/find.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _golang-find:
1+
.. _golang-find-multiple:
22

33
=======================
44
Find Multiple Documents

source/usage-examples/findOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.. _golang-find-one:
22

3-
43
===============
54
Find a Document
65
===============
@@ -59,3 +58,4 @@ API Documentation
5958
~~~~~~~~~~~~~~~~~
6059

6160
`FindOne() <{+api+}/mongo#Collection.FindOne>`__
61+

source/usage-examples/insertMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ documents in the ``haikus`` collection:
4747
"text": "Binary data, safely stored with GridFS. Bucket the data"
4848
}
4949

50-
For an example on how to find multiple documents, see :ref:`golang-find`.
50+
For an example on how to find multiple documents, see :ref:`golang-find-multiple`.
5151

5252
Additional Information
5353
----------------------

source/usage-examples/updateMany.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ documents in the ``listingsAndReviews`` collection:
4545
{ "_id" : "20989061", ... , "name" : "Big and sunny Narraben room", ... , "price" : 60.00, ... },
4646
...
4747

48-
For an example on how to find multiple documents, see :ref:`golang-find`.
48+
For an example on how to find multiple documents, see :ref:`golang-find-multiple`.
4949

5050
Additional Information
5151
----------------------

0 commit comments

Comments
 (0)