Skip to content

Commit 90442f4

Browse files
author
Chris Cho
authored
DOCSP-13797: fix build warnings and errors (#713)
* DOCSP-13797: fix build warnings and errors
1 parent d3199a0 commit 90442f4

File tree

9 files changed

+27
-25
lines changed

9 files changed

+27
-25
lines changed

source/csharp.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Take the free online course taught by MongoDB
3535

3636
* - .. cssclass:: bordered-figure
3737
.. figure:: /figures/M220N.png
38+
:alt: Banner for the M220N MongoDB University Course
3839

3940
- `M220N: MongoDB for .NET Developers <https://university.mongodb.com/courses/M220N/about>`__
4041
Learn the essentials of C# & ASP.NET application development with MongoDB.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ content: |
200200
201201
To use the GCP KMS, you must use
202202
`libmongocrypt <https://github.com/mongodb/libmongocrypt>`__ version 1.1 or later in your application's environment.
203+
203204
---
204205
title: Create a New Data Encryption Key
205206
ref: create-a-new-data-key-gcp
@@ -382,6 +383,7 @@ content: |
382383
383384
dataKeyOpts := options.DataKey().SetMasterKey(provider.DataKeyOpts())
384385
dataKeyID, err := clientEnc.CreateDataKey(context.TODO(), provider.Name(), dataKeyOpts)
386+
385387
---
386388
title: Update the Automatic Encryption JSON Schema
387389
ref: update-the-json-schema-gcp

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,7 @@ content: |
440440
_keyVaultNamespace.CollectionName,
441441
new MongoCollectionSettings
442442
{
443-
#pragma warning disable CS0618
444443
GuidRepresentation = GuidRepresentation.Standard
445-
#pragma warning restore CS0618
446444
});
447445
var query = Builders<BsonDocument>.Filter.Eq("_id", new BsonBinaryData(dataKeyId, GuidRepresentation.Standard));
448446
var keyDocument = collection

source/java-drivers.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Java MongoDB Drivers
66

77
.. default-domain:: mongodb
88

9+
.. toctree::
10+
:titlesonly:
11+
12+
/java.txt
13+
/reactive-streams.txt
14+
915
.. contents:: On this page
1016
:local:
1117
:backlinks: none
@@ -27,15 +33,10 @@ Take the free online course taught by MongoDB
2733

2834
* - .. cssclass:: bordered-figure
2935
.. figure:: /figures/M220J_hero.jpg
36+
:alt: Banner for the M220J MongoDB University Course
3037

3138
- `M220J: MongoDB for Java Developers <https://university.mongodb.com/courses/M220J/about>`__
3239

3340
Learn the essentials of Java application development with MongoDB.
3441

35-
.. class:: hidden
36-
37-
.. toctree::
38-
:titlesonly:
3942

40-
/java.txt
41-
/reactive-streams.txt

source/java.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Take the free online course taught by MongoDB
3737

3838
* - .. cssclass:: bordered-figure
3939
.. figure:: /figures/M220J_hero.jpg
40+
:alt: Banner for the M220J MongoDB University Course
4041

4142
- `M220J: MongoDB for Java Developers <https://university.mongodb.com/courses/M220J/about>`__
4243

source/php.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ MongoDB PHP Driver
88

99
.. default-domain:: mongodb
1010

11+
.. toctree::
12+
:titlesonly:
13+
14+
/php-libraries
15+
1116
.. contents:: On this page
1217
:local:
1318
:backlinks: none
1419
:depth: 1
1520
:class: twocols
1621

22+
1723
Introduction
1824
------------
1925

@@ -136,9 +142,3 @@ See Also
136142

137143
- :ref:`php-libraries-frameworks-and-tools`
138144

139-
.. class:: hidden
140-
141-
.. toctree::
142-
:titlesonly:
143-
144-
/php-libraries

source/pymongo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Take the free online course taught by MongoDB
3333

3434
* - .. cssclass:: bordered-figure
3535
.. figure:: /figures/M220P_hero.jpg
36+
:alt: Banner for the M220P MongoDB University Course
3637

3738
- `M220P: MongoDB for Python Developers <https://university.mongodb.com/courses/M220P/about>`__
3839

source/python.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ MongoDB Python Drivers
88

99
.. default-domain:: mongodb
1010

11+
.. toctree::
12+
:titlesonly:
13+
14+
/pymongo.txt
15+
/motor.txt
16+
1117
.. contents:: On this page
1218
:local:
1319
:backlinks: none
@@ -28,17 +34,9 @@ Take the free online course taught by MongoDB
2834

2935
* - .. cssclass:: bordered-figure
3036
.. figure:: /figures/M220P_hero.jpg
37+
:alt: Banner for the M220P MongoDB University Course
3138

3239
- `M220P: MongoDB for Python Developers <https://university.mongodb.com/courses/M220P/about>`__
3340

3441
Learn the essentials of Python application development with MongoDB.
3542

36-
37-
.. class:: hidden
38-
39-
.. toctree::
40-
:titlesonly:
41-
42-
/pymongo.txt
43-
/motor.txt
44-

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ information in the context of a real-world scenario:
2020
Encryption works
2121
- :ref:`Comparison of Security Features <csfle-feature-comparison>`: Reasons
2222
to choose this security feature
23-
- :ref:`Impelementation <csfle-implementation>`: How to implement Client-Side
23+
- :ref:`Implementation <csfle-implementation>`: How to implement Client-Side
2424
Field Level Encryption with the MongoDB driver
2525

2626
.. note:: Download the Code
@@ -283,7 +283,7 @@ Additional Dependencies
283283

284284
* - Go version 1.10 or later
285285
- A Go version of 1.10 or later is required. Go 1.11 or later is recommended for support
286-
`go module support <https://blog.golang.org/using-go-modules>__`.
286+
`go module support <https://blog.golang.org/using-go-modules>`__.
287287

288288
* - `libmongocrypt <https://github.com/mongodb/libmongocrypt#libmongocrypt>`__ version 1.1.0 or later
289289
-

0 commit comments

Comments
 (0)