Skip to content

Commit c5c1afc

Browse files
authored
add ref and link (#40)
1 parent 72f7ef1 commit c5c1afc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

source/fundamentals/connection.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Connection Guide
1010
:depth: 2
1111
:class: singlecol
1212

13+
.. _golang_connection_guide:
14+
1315
This guide shows you how to connect to a MongoDB instance or replica set
1416
deployment using the Go Driver.
1517

@@ -125,7 +127,7 @@ Connection Options
125127

126128
This section explains several common MongoDB connection and authentication
127129
options. You can pass the connection options as parameters of the connection
128-
URI to specify the behavior of the client.
130+
URI to specify the behavior of the client.
129131

130132
.. list-table::
131133
:header-rows: 1
@@ -211,4 +213,4 @@ URI to specify the behavior of the client.
211213

212214
For a full list of connection options, see the `ClientOptions API
213215
documentation
214-
<https://pkg.go.dev/go.mongodb.org/[email protected]/mongo/options#ClientOptions>`__.
216+
<https://pkg.go.dev/go.mongodb.org/[email protected]/mongo/options#ClientOptions>`__.

source/usage-examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ you can replace ``<user>`` with your username, ``<password>`` with your
9191
password, and ``<cluster-url>`` with the IP address or URL of your instance.
9292

9393
For more information about connecting to your MongoDB instance, see our
94-
<TODO: Connection Guide>.
94+
:ref:`Connection Guide <golang_connection_guide>`.
9595

0 commit comments

Comments
 (0)