Skip to content

Commit c56ff01

Browse files
author
Chris Cho
authored
Merge pull request #40 from ccho-mongodb/111920-fix-snooty-errors
111920 fix snooty errors
2 parents 4cac5e7 + f771483 commit c56ff01

File tree

6 files changed

+15
-18
lines changed

6 files changed

+15
-18
lines changed

source/fundamentals/auth.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,4 +345,4 @@ mechanism:
345345

346346
For additional information on configuring your application to use
347347
certificates as well as TLS/SSL options, see our
348-
:doc:`TLS/SSL guide </fundamentals/connection>`.
348+
:doc:`TLS/SSL guide </fundamentals/connection/tls>`.

source/fundamentals/connection.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,28 @@
22
Connection Guide
33
================
44

5-
.. contents:: On this page
6-
:local:
7-
:backlinks: none
8-
:depth: 2
9-
:class: singlecol
5+
.. default-domain:: mongodb
106

117
.. toctree::
128

139
/fundamentals/connection/tls
1410
/fundamentals/connection/jndi
1511

12+
.. contents:: On this page
13+
:local:
14+
:backlinks: none
15+
:depth: 2
16+
:class: singlecol
17+
1618
This guide shows you how to connect to a MongoDB instance or replica set
1719
deployment using the driver.
1820

1921
For information about authenticating with a MongoDB instance,
2022
see :doc:`Authentication </fundamentals/auth>`. To learn more about using
2123
the driver with the Java Naming and Directory Interface (JNDI), see
22-
:doc:`JNDI <fundamentals/connection/jndi>`. To configure TLS/SSL security
24+
:doc:`JNDI </fundamentals/connection/jndi>`. To configure TLS/SSL security
2325
for connections to your MongoDB instance, see :doc:`TLS/SSL
24-
<fundamentals/connection/tls>`.
26+
</fundamentals/connection/tls>`.
2527

2628
.. _mongoclient:
2729

source/fundamentals/connection/jndi.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _jndi:
2-
31
Java Naming and Directory Interface (JNDI)
42
==========================================
53

source/fundamentals/connection/tls.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _tls:
2-
31
==============================
42
Enable TLS/SSL on a Connection
53
==============================
@@ -14,8 +12,8 @@ You can connect to MongoDB instances with the
1412
`TLS/SSL <https://en.wikipedia.org/wiki/Transport_Layer_Security>`__
1513
security protocol using the underlying TLS/SSL support in the JDK. To
1614
configure your connection to use TLS/SSL, enable the TLS/SSL settings in
17-
either the :java-docs:`ConnectionString <apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html>
18-
or :java-docs:`MongoClientSettings <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>.
15+
either the :java-docs:`ConnectionString <apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html>`
16+
or :java-docs:`MongoClientSettings <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>`.
1917

2018
.. note:: Debugging TLS/SSL
2119

source/fundamentals/data-formats/document-data-format-pojo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ To set up the driver to store and retrieve POJOs, we need to specify:
125125
- A ``MongoClient``, ``MongoDatabase``, or ``MongoCollection`` instance
126126
configured to use the ``CodecRegistry``.
127127
- A ``MongoCollection`` instance created with the POJO document class
128-
bound to the :java-docs:`TDocument </apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html>`__
128+
bound to the :java-docs:`TDocument </apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html>`
129129
generic type.
130130

131131
Follow the steps below to see how to perform each of the configuration

source/usage-examples/watch.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ The callback function triggers when a change event is emitted. You can
6565
specify logic in the callback to process the event document when it is
6666
received.
6767

68-
.. admonition:: forEach() blocks the current thread
69-
:class: important
68+
.. important:: forEach() blocks the current thread
7069

7170
Calls to ``forEach()`` block the current thread as long as the
7271
corresponding change stream listens for events. If your program
@@ -174,4 +173,4 @@ methods presented above:
174173
- :java-sync-api:`ChangeStreamIterable <com/mongodb/client/ChangeStreamIterable.html>`
175174
- :java-sync-api:`MongoCollection.watch() <com/mongodb/client/MongoCollection.html#watch()>`
176175
- :java-sync-api:`MongoDatabase.watch() <com/mongodb/client/MongoDatabase.html#watch()>`
177-
- :java-sync-api:`MongoClient.watch() <com/mongodb/client/MongoClient.html#watch()>`
176+
- :java-sync-api:`MongoClient.watch() <com/mongodb/client/MongoClient.html#watch()>`

0 commit comments

Comments
 (0)