Skip to content

Commit e34fd2c

Browse files
committed
rr feedback
1 parent a4f8bd0 commit e34fd2c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+260
-261
lines changed

snooty.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ version = "5.4"
3030
full-version = "{+version+}.0"
3131
mdb-server = "MongoDB Server"
3232
package-name-org = "mongodb-org"
33-
api-root = "https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs"
34-
client-api = "{+api-root+}/mongodb-driver-sync/com/mongodb/client"
35-
core-api = "{+api-root+}/mongodb-driver-core/com/mongodb"
33+
driver-api = "https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-sync/com/mongodb/client"
34+
core-api = "https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-core/com/mongodb"
3635
stable-api = "Stable API"
3736
mongocrypt-version = "{+full-version+}"
3837
nettyVersion = "io.netty:netty-all:4.1.87.Final"

source/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Aggregation operations have some :manual:`limitations </core/aggregation-pipelin
7474
of 16 megabytes.
7575

7676
- Pipeline stages have a memory limit of 100 megabytes by default. If required, you can exceed this limit by using
77-
the `allowDiskUse <{+client-api+}/AggregateIterable.html#allowDiskUse(java.lang.Boolean)>`__
77+
the `allowDiskUse <{+driver-api+}/AggregateIterable.html#allowDiskUse(java.lang.Boolean)>`__
7878
method.
7979

8080
.. important:: ``$graphLookup`` exception

source/aggregation/aggregation-examples.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The preceding aggregation produces the following results:
106106
For more information about the methods and classes mentioned in this section,
107107
see the following API Documentation:
108108

109-
- `MongoCollection.aggregate() <{+client-api+}/MongoCollection.html#aggregate(java.util.List)>`__
109+
- `MongoCollection.aggregate() <{+driver-api+}/MongoCollection.html#aggregate(java.util.List)>`__
110110
- `Aggregates.match <{+core-api+}/client/model/Aggregates.html#match(org.bson.conversions.Bson)>`__
111111

112112
Explain Aggregation Example
@@ -162,8 +162,8 @@ following resources:
162162
- :manual:`Explain Output </reference/explain-results/>` Server Manual Entry
163163
- :manual:`Query Plans </core/query-plans/>` Server Manual Entry
164164
- `ExplainVerbosity <{+core-api+}/ExplainVerbosity>`__ API Documentation
165-
- `explain() <{+client-api+}/FindIterable.html#explain()>`__ API Documentation
166-
- `AggregateIterable <{+client-api+}/AggregateIterable.html>`__ API Documentation
165+
- `explain() <{+driver-api+}/FindIterable.html#explain()>`__ API Documentation
166+
- `AggregateIterable <{+driver-api+}/AggregateIterable.html>`__ API Documentation
167167

168168
Aggregation Expression Example
169169
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/api-documentation.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@ API Documentation
77
.. meta::
88
:description: Read the API documentation for the {+driver-long+} and related packages.
99

10-
- `BSON <{+api-root+}/bson/index.html>`__ - classes for working with the
10+
- `BSON <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson/index.html>`__ - classes for working with the
1111
BSON data format.
12-
- `BSON Record Codec <{+api-root+}/bson-record-codec/index.html>`__ -
12+
- `BSON Record Codec <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson-record-codec/index.html>`__ -
1313
classes for encoding and decoding between Java records and the BSON data
1414
format.
15-
- `Core <{+api-root+}/mongodb-driver-core/index.html>`__ - classes that
15+
- `Core <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-core/index.html>`__ - classes that
1616
contain essential driver functionality.
17-
- `Java Driver (modern API) <{+api-root+}/mongodb-driver-sync/index.html>`__ -
17+
- `Java Driver (modern API) <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-sync/index.html>`__ -
1818
classes for the current driver API.
19-
- `Java Driver (legacy API) <{+api-root+}/mongodb-driver-legacy/index.html>`__ -
19+
- `Java Driver (legacy API) <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-legacy/index.html>`__ -
2020
classes that support the legacy driver API. To learn how to upgrade from the
2121
legacy API to the modern API from the :ref:`<java-legacy-api>` documentation.
2222

2323
.. toctree::
2424
:titlesonly:
2525
:maxdepth: 1
2626

27-
BSON <{+api-root+}/bson/index.html>
28-
BSON Record Codec <{+api-root+}/bson-record-codec/index.html>
29-
Core <{+api-root+}/mongodb-driver-core/index.html>
30-
Java Driver (modern API) <{+api-root+}/mongodb-driver-sync/index.html>
31-
Java Driver (legacy API) <{+api-root+}/mongodb-driver-legacy/index.html>
27+
BSON <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson/index.html>
28+
BSON Record Codec <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson-record-codec/index.html>
29+
Core <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-core/index.html>
30+
Java Driver (modern API) <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-sync/index.html>
31+
Java Driver (legacy API) <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/mongodb-driver-legacy/index.html>
3232

source/atlas-search.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ API Documentation
102102
To learn more about the methods mentioned in this guide, see
103103
the following API documentation:
104104

105-
- `MongoCollection.aggregate() <{+client-api+}/MongoCollection.html#aggregate(java.util.List)>`__
105+
- `MongoCollection.aggregate() <{+driver-api+}/MongoCollection.html#aggregate(java.util.List)>`__
106106
- `Aggregates.search() <{+core-api+}/client/model/Aggregates.html#search(com.mongodb.client.model.search.SearchCollector)>`__
107107
- `Aggregates.project() <{+core-api+}/client/model/Aggregates.html#project(org.bson.conversions.Bson)>`__

source/atlas-vector-search.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ guide, see the following API documentation:
104104
- `Projections.metaVectorSearchScore()
105105
<{+core-api+}/client/model/Projections.html#metaVectorSearchScore(java.lang.String)>`__
106106

107-
- `BinaryVector <{+api-root+}/bson/org/bson/BinaryVector.html>`__
107+
- `BinaryVector <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson/org/bson/BinaryVector.html>`__

source/builders/indexes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ the field. See our guide on :ref:`Indexes <java-fundamentals-indexes>` for
3131
examples of queries covered by indexes.
3232

3333
The ``Indexes`` class provides static factory methods for all the MongoDB index types.
34-
Each method returns a `BSON <{+api-root+}/bson/org/bson/conversions/Bson.html>`__
34+
Each method returns a `BSON <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson/org/bson/conversions/Bson.html>`__
3535
instance, which you can pass to
36-
`createIndex() <{+client-api+}/MongoCollection.html#createIndex(org.bson.conversions.Bson,com.mongodb.client.model.IndexOptions)>`__.
36+
`createIndex() <{+driver-api+}/MongoCollection.html#createIndex(org.bson.conversions.Bson,com.mongodb.client.model.IndexOptions)>`__.
3737

3838
.. tip::
3939

source/builders/sort.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ For more information about the classes and interfaces in this section, see the
6969
following API Documentation:
7070

7171
- `Sorts <{+core-api+}/client/model/Sorts.html>`__
72-
- `BSON <{+api-root+}/bson/org/bson/conversions/Bson.html>`__
73-
- `FindIterable <{+client-api+}/FindIterable.html>`__
72+
- `BSON <https://mongodb.github.io/mongo-java-driver/{+version+}/apidocs/bson/org/bson/conversions/Bson.html>`__
73+
- `FindIterable <{+driver-api+}/FindIterable.html>`__
7474
- `Aggregates <{+core-api+}/client/model/Aggregates.html>`__
7575

7676
Ascending

source/command.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ API Documentation
7474

7575
For more information about the method used to run database commands, see the following API documentation:
7676

77-
- `runCommand() <{+client-api+}/MongoDatabase.html#runCommand(org.bson.conversions.Bson)>`__
77+
- `runCommand() <{+driver-api+}/MongoDatabase.html#runCommand(org.bson.conversions.Bson)>`__
7878

7979
Server Manual Entries
8080
~~~~~~~~~~~~~~~~~~~~~

source/connection/specify-connection-options/jndi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,5 @@ JNDI Datasource.
130130
For JNDI implementations other than those listed here, you can create
131131
your own ``Factory`` wrapper based on the driver's built-in
132132
`MongoClientFactory
133-
<{+client-api+}/MongoClientFactory.html>`__
133+
<{+driver-api+}/MongoClientFactory.html>`__
134134
implementation.

0 commit comments

Comments
 (0)