@@ -71,6 +71,9 @@ instance of MongoDB:
71
71
72
72
client = mongoc_client_new ("mongodb://localhost:27017");
73
73
74
+ To learn more about connecting to local deployments, see :ref:`c-connect-local`
75
+ in the Choose a Connection Target guide.
76
+
74
77
Atlas
75
78
~~~~~
76
79
@@ -81,6 +84,9 @@ deployment hosted on Atlas:
81
84
82
85
client = mongoc_client_new ("mongodb+srv://<db_username>:<db_password>@<hostname>/?<options>");
83
86
87
+ To learn more about connecting to Atlas, see :ref:`c-connect-atlas` in the
88
+ Choose a Connection Target guide.
89
+
84
90
Replica Set
85
91
~~~~~~~~~~~
86
92
@@ -91,15 +97,17 @@ replica set:
91
97
92
98
client = mongoc_client_new ("mongodb+srv://<replica-set-member>/?replicaSet=<replica_set_name>");
93
99
100
+ To learn more about connecting to replica sets, see
101
+ :ref:`c-connect-replica-sets` in the Choose a Connection Target guide.
102
+
94
103
Transport Layer Security (TLS)
95
104
------------------------------
96
105
97
106
The following sections describe how to connect to MongoDB
98
107
while enabling the TLS protocol.
99
108
100
- .. TODO, uncomment once TLS page is merged
101
- .. To learn more about using TLS with the {+driver-short+},
102
- .. see :ref:`c-tls`.
109
+ To learn more about using TLS with the {+driver-short+},
110
+ see :ref:`c-tls`.
103
111
104
112
Enable TLS
105
113
~~~~~~~~~~
@@ -108,9 +116,8 @@ The following tabs demonstrate how to enable TLS on a connection:
108
116
109
117
.. include:: /includes/connect/tls-tabs.rst
110
118
111
- .. TODO, uncomment once TLS page is merged
112
- .. To learn more about enabling TLS, see :ref:`c-enable-tls` in
113
- .. the TLS configuration guide.
119
+ To learn more about enabling TLS, see :ref:`c-enable-tls` in
120
+ the TLS configuration guide.
114
121
115
122
Disable Hostname Verification
116
123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -120,9 +127,9 @@ connecting by using TLS:
120
127
121
128
.. include:: /includes/connect/disable-host-verification-tabs.rst
122
129
123
- .. TODO, uncomment once TLS page is merged
124
- .. To learn more about disabling hostname verification, see :ref:`c-certificate-revocation` in
125
- .. the TLS configuration guide.
130
+
131
+ To learn more about disabling hostname verification, see :ref:`c-certificate-revocation` in
132
+ the TLS configuration guide.
126
133
127
134
Network Compression
128
135
-------------------
@@ -185,5 +192,4 @@ The following code shows how to specify Stable API settings within a
185
192
186
193
mongoc_server_api_destroy (api);
187
194
188
- .. TODO, uncomment once stable API page is merged
189
- .. To learn more about the {+stable-api+}, see :ref:`c-stable-api`.
195
+ To learn more about the {+stable-api+}, see :ref:`c-stable-api`.
0 commit comments