Skip to content

Commit 22b4198

Browse files
committed
Fixes
1 parent 9018d96 commit 22b4198

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

snooty.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ patch-version-number = "{+version-number+}.2"
2626
mdb-server = "MongoDB Server"
2727
stable-api = "Stable API"
2828
api = "https://mongodb.github.io/mongo-java-driver/{+version-number+}/apidocs/mongodb-driver-kotlin-sync"
29-
core-api = "https://mongodb.github.io/mongo-java-driver/{+version-number+}/apidocs/mongodb-driver-core/"
29+
java-api = "https://mongodb.github.io/mongo-java-driver/{+version-number+}"
30+
core-api = "{+java-api+}/apidocs/mongodb-driver-core/"

source/data-formats/bson.txt

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,35 @@ MongoDB and BSON
3535
----------------
3636

3737
You can use BSON data with your {+driver-short+} application by using one of the
38-
following object types that implements the `BSON interface <{+api+}/apidocs/bson/org/bson/conversions/Bson.html>`__:
38+
following object types that implements the `BSON interface <{+java-api+}/apidocs/bson/org/bson/conversions/Bson.html>`__:
3939

40-
- `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__ (BSON library package)
41-
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__ (BSON library package)
42-
- `RawBsonDocument <{+api+}/apidocs/bson/org/bson/RawBsonDocument.html>`__ (BSON library package)
43-
- `JsonObject <{+api+}/apidocs/bson/org/bson/json/JsonObject.html>`__ (BSON library package)
40+
- `Document <{+java-api+}/apidocs/bson/org/bson/Document.html>`__ (BSON library package)
41+
- `BsonDocument <{+java-api+}/apidocs/bson/org/bson/BsonDocument.html>`__ (BSON library package)
42+
- `RawBsonDocument <{+java-api+}/apidocs/bson/org/bson/RawBsonDocument.html>`__ (BSON library package)
43+
- `JsonObject <{+java-api+}/apidocs/bson/org/bson/json/JsonObject.html>`__ (BSON library package)
4444

4545
.. _install-bson-library:
4646

4747
Install the BSON Library
4848
------------------------
4949

5050
These instructions detail how to add the BSON library as a dependency to
51-
your project. If you added the MongoDB Kotlin driver as a dependency to your
52-
project, you can skip this step since the BSON library is already included
53-
as a required dependency of the driver.
51+
your project.
52+
53+
.. note::
54+
55+
If you have already added the {+driver-short+} as a dependency to your
56+
project, then you can skip this step. This is because the BSON library is already
57+
included as a required dependency of the driver.
5458

5559
.. TODO: For instructions on how to add the
5660
.. MongoDB Kotlin driver as a dependency to your project, see the
5761
.. :ref:`driver installation <kotlin-sync-download-install>` section of our Get Started
5862
.. guide.
5963

6064
We recommend that you use the `Maven <https://maven.apache.org/>`__ or
61-
`Gradle <https://gradle.org/>`__ build automation tool to manage your project's
62-
dependencies. Select from the following tabs to see the dependency declaration
65+
`Gradle <https://gradle.org/>`__ build automation tool to manage your {+language+}
66+
project's dependencies. Select from the following tabs to see the dependency declaration
6367
for that tool:
6468

6569
.. tabs::
@@ -80,6 +84,6 @@ for that tool:
8084

8185
.. include:: /includes/data-formats/bson-gradle-versioned.rst
8286

83-
If you are not using one of the preceding tools, you can include it in
84-
your project by downloading the JAR file directly from the
87+
If you are not using either of the preceding tools, then you can include the BSON dependency
88+
in your project by downloading the JAR file directly from the
8589
`sonatype repository <https://repo1.maven.org/maven2/org/mongodb/bson/>`__.

0 commit comments

Comments
 (0)