Skip to content

Commit 8ef04ef

Browse files
author
Chris Cho
authored
DOCSP-12456: fix build warnings errors (#678)
* DOCSP-12456: fix nextgen build warnings and errors
1 parent 9752175 commit 8ef04ef

11 files changed

+21
-33
lines changed

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
'atlas': ('https://docs.atlas.mongodb.com%s', ''),
7070
'mms-home': ('https://www.mongodb.com/cloud/cloud-manager%s', ''),
7171
'guides': ('https://docs.mongodb.com/guides%s', ''),
72-
'java-docs': ('http://mongodb.github.io/mongo-java-driver/3.12/%s', ''),
72+
'java-docs': ('http://mongodb.github.io/mongo-java-driver/4.1/%s', ''),
7373
'kafka-21-javadoc': ('https://kafka.apache.org/21/javadoc/org/apache/kafka%s', ''),
7474
'csharp-docs': ('http://mongodb.github.io/mongo-csharp-driver/2.10%s', ''),
7575
'scala-docs': ('http://mongodb.github.io/mongo-scala-driver/2.9%s', ''),

source/driver-compatibility-reference.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ Driver Compatibility
1212
:depth: 1
1313
:class: twocols
1414

15-
.. admonition:: Check the driver documentation pages for compatibility information
16-
:class: note
17-
18-
Please check our `driver documentation page home <https://docs.mongodb.com/drivers>`__
19-
for the latest information on driver compatibility with MongoDB and driver
15+
.. note:: Check the driver documentation pages for compatibility information
16+
17+
Please check our `driver documentation page home <https://docs.mongodb.com/drivers>`__
18+
for the latest information on driver compatibility with MongoDB and driver
2019
languages.

source/includes/driver-table.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
- :issue:`JIRA <JAVA>`
4444
- `Course <https://university.mongodb.com/courses/M220J/about>`__
4545

46-
* - :doc:`Node.js <https://docs.mongodb.com/drivers/node>`
46+
* - `Node.js <https://docs.mongodb.com/drivers/node>`__
4747
- `Releases <https://github.com/mongodb/node-mongodb-native/releases>`__
4848
- `Source <https://github.com/mongodb/node-mongodb-native>`__
4949
- `API <https://mongodb.github.io/node-mongodb-native/>`__

source/includes/hadoop-eol-spark.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/includes/mongodb-compatibility-table-motor.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
- |checkmark|
126126

127127
* - 0.2
128+
-
129+
-
130+
-
128131
-
129132
-
130133
-

source/includes/steps-fle-configure-the-mongodb-client.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ content: |
134134
Map<String, Object> extraOptions = new HashMap<String, Object>();
135135
extraOptions.put("mongocryptdSpawnPath", "/usr/local/bin/mongocryptd");
136136
137-
.. admonition:: Encryption Binary Daemon
138-
:class: note
137+
.. note:: Encryption Binary Daemon
139138
140139
If the ``mongocryptd`` daemon is already running, you can
141140
configure the client to skip starting it by passing the
@@ -155,8 +154,7 @@ content: |
155154
mongocryptdSpawnPath: '/usr/local/bin/mongocryptd',
156155
}
157156
158-
.. admonition:: Encryption Binary Daemon
159-
:class: note
157+
.. note:: Encryption Binary Daemon
160158
161159
If the ``mongocryptd`` daemon is already running, you can
162160
configure the client to skip starting it by passing the
@@ -176,8 +174,7 @@ content: |
176174
'mongocryptd_spawn_path': '/usr/local/bin/mongocryptd'
177175
}
178176
179-
.. admonition:: Encryption Binary Daemon
180-
:class: note
177+
.. note:: Encryption Binary Daemon
181178
182179
If the ``mongocryptd`` daemon is already running, you can
183180
configure the client to skip starting it by passing the

source/includes/steps-fle-convert-to-a-remote-master-key.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ content: |
66
encrypt and decrypt the remote master key. The IAM user must be granted
77
full ``List`` and ``Read`` permissions for the KMS service.
88
9-
.. admonition:: Client IAM User Credentials
10-
:class: note
9+
.. note:: Client IAM User Credentials
1110
1211
The CSFLE-enabled client uses the IAM User's :guilabel:`Access Key
1312
ID` and :guilabel:`Secret Access Key` as configuration values. Take

source/includes/steps-fle-create-data-encryption-key.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,7 @@ content: |
276276
masterKey=Document{{provider=local}}
277277
}}
278278
279-
.. admonition:: View the Extended JSON Representation of the Data Key
280-
:class: note
279+
.. note:: View the Extended JSON Representation of the Data Key
281280
282281
While the ``Document`` class is the
283282
:java-docs:`Document type </bson/documents>`

source/php-libraries.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Stand-alone Libraries
4242
- `Mongolid <https://github.com/leroy-merlin-br/mongolid>`_: A fast ODM for PHP and
4343
MongoDB, which implements both ActiveRecord and DataMapper design patterns and
4444
supports embedded and referenced documents. An integration with
45-
`Laravel <https://github.com/leroy-merlin-br/mongolid-laravel>`_ is also available.
45+
`Laravel <https://github.com/leroy-merlin-br/mongolid-laravel>`__ is also available.
4646

4747
- `Yadm <https://github.com/makasim/yadm>`_ is a MongoDB ODM written for the
4848
**mongodb** extension. It is schema-less and supports fast object hydration
4949
and persistence, which makes it well-suited for modeling aggregation results.
5050

5151
- `Xenus <https://github.com/abellion/xenus>`_ is an elegant MongoDB ODM
5252
that supports events, relationships, embedded documents, and more. An
53-
integration with `Laravel <https://github.com/abellion/xenus-laravel>`_ is
53+
integration with `Laravel <https://github.com/abellion/xenus-laravel>`__ is
5454
also available, which adds support for failed jobs, migrations, and events.
5555

5656
Framework Integrations

source/security/client-side-field-level-encryption-guide.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ information in the context of a real-world scenario:
2424
- **How to implement Client-Side Field Level Encryption with the MongoDB
2525
driver** (`Implementation`_)
2626

27-
.. admonition:: Download the Code
27+
.. note:: Download the Code
2828

2929
For a runnable example of all the functionality demonstrated in this guide,
3030
see the :ref:`Download Example Project <download-example-project>` section.
@@ -277,8 +277,7 @@ encrypt and decrypt document fields, are stored in a key vault collection in
277277
the same MongoDB replica set as the encrypted data.
278278

279279

280-
.. admonition:: Local Key Provider is not suitable for production
281-
:class: important
280+
.. warning:: Local Key Provider is not suitable for production
282281

283282
The Local Key Provider is an insecure method of storage and is therefore
284283
**not recommended** if you plan to use CSFLE in production. Instead,
@@ -409,8 +408,7 @@ information:
409408
- The BSON Type of each field (only required for deterministically
410409
encrypted fields)
411410

412-
.. admonition:: CSFLE JSON Schema Does Not Support Document Validation
413-
:class: important
411+
.. warning:: CSFLE JSON Schema Does Not Support Document Validation
414412

415413
MongoDB drivers use JSON Schema syntax to specify encrypted fields
416414
and *only* support field-level encryption-specific keywords documented
@@ -419,7 +417,7 @@ information:
419417
Any other document validation instances will cause the client to throw
420418
an error.
421419

422-
.. admonition:: Server-side JSON Schema
420+
.. warning:: Server-side JSON Schema
423421

424422
You can prevent clients that are not configured with the appropriate
425423
client-side JSON Schema from writing unencrypted data to a field by

0 commit comments

Comments
 (0)