Skip to content

Commit 7492fc5

Browse files
committed
CXX-1149 Update hugo docs server manual URLs
1 parent d0fa699 commit 7492fc5

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

docs/content/legacy-v1/breaking-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ run all tests and client examples |`test`
7878
* The driver will not function correctly unless `mongo::client::initialize` is invoked before using the driver APIs. The mongo::client::shutdown method should also be called at application termination (if options.callShutdownAtExit() is not set) so the driver can cleanly terminate. As a convenience, we have added [`mongo::GlobalInstance`](https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/mongo/client/init.h#L69) as an RAII wrapper to automatically call these methods.
7979
* options.callShutdownAtExit() is a no-op on non-static builds on Windows due to issues around sudden thread termination.
8080
* The driver no longer logs any output by default. You may configure and inject a logger to re-enable logging. See `src/mongo/client/examples/clientTest.cpp` for an example of how to enable logging.
81-
* Writes are now "[acknowledged](http://docs.mongodb.org/manual/core/write-concern/#write-concern-acknowledged)" by default. In all previous releases the default write concern was “[unacknowledged](http://docs.mongodb.org/manual/core/write-concern/#unacknowledged)”. This change may have performance and behavior implications for existing applications that did not confirm writes. You can read more about the change [here](http://docs.mongodb.org/manual/release-notes/drivers-write-concern/#driver-write-concern-change).
81+
* Writes are now "[acknowledged](https://docs.mongodb.com/master/core/write-concern/#write-concern-acknowledged)" by default. In all previous releases the default write concern was “[unacknowledged](https://docs.mongodb.com/master/core/write-concern/#unacknowledged)”. This change may have performance and behavior implications for existing applications that did not confirm writes. You can read more about the change [here](https://docs.mongodb.com/master/release-notes/drivers-write-concern/#driver-write-concern-change).
8282
* The driver now throws a mongo::OperationException when write concern is greater than Acknowledged for errors that occur when running operations against a MongoDB database.
8383
* The default shutdown grace period is now zero which means the driver may block forever until a successful shutdown occurs.
8484

docs/content/legacy-v1/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if (!status.isOK()) {
153153
- Semantics: This flag only has an effect if `Options::current::SSLMode` is
154154
`Options::kSSLRequired`. If set, it specifies a file containing the
155155
certificate authority file to use. See the [MongoDB SSL
156-
documentation](http://docs.mongodb.org/manual/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
156+
documentation](https://docs.mongodb.com/master/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
157157
for additional information on the CA file.
158158

159159
#### `Options::setSSLPemKeyFile` and `Options::SSLPEMKeyFile`
@@ -163,7 +163,7 @@ if (!status.isOK()) {
163163
- Semantics: This flag only has an effect if `Options::current::SSLMode` is
164164
`Options::kSSLRequired`. If set, it specifies a file containing the SSL
165165
PEM key file to use. See the [MongoDB SSL
166-
documentation](http://docs.mongodb.org/manual/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
166+
documentation](https://docs.mongodb.com/master/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
167167
for additional information on the PEM key file.
168168

169169
#### `Options::setSSLPemKeyPassword` and `Options::SSLPEMKeyPassword`
@@ -175,7 +175,7 @@ if (!status.isOK()) {
175175
been set with `Options::setSSLPEMKeyFile`. If set, it specifies the
176176
password to be used to decrypt the SSL PEM key file specified with
177177
`Options::setSSLPEMKeyFile`. See the [MongoDB SSL
178-
documentation](http://docs.mongodb.org/manual/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
178+
documentation](https://docs.mongodb.com/master/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
179179
for additional information on the PEM key file password.
180180

181181
#### `Options::setSSLCRLFile` and `Options::SSLCRLFile`
@@ -185,7 +185,7 @@ if (!status.isOK()) {
185185
- Semantics: This flag only has an effect if `Options::current::SSLMode` is
186186
`Options::kSSLRequired`. If set, it specifies the file to use as the SSL
187187
certificate revocation list. See the [MongoDB SSL
188-
documentation](http://docs.mongodb.org/manual/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
188+
documentation](https://docs.mongodb.com/master/tutorial/configure-ssl/#set-up-mongod-and-mongos-with-ssl-certificate-and-key)
189189
for additional information on the certificate revocation list file.
190190

191191
#### `Options::setSSAllowInvalidCertificates` and `Options::SSLAllowInvalidCertificates`

docs/content/legacy-v1/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ have linked against libstdc++.
170170
There are several targets you can build, but the most common target for users of the library is `install`, which will build the driver, and install the driver and headers to the location specified with the `--prefix` argument. If no prefix is specified, `--prefix` defaults to a directory named ```build/install``` under the current source directory.
171171

172172
##### Client Feature Options
173-
- `--ssl` Enables SSL support. You will need a compatible version of the SSL libraries available.The default authorization mechanism since MongoDB version 3.0 is [SCRAM-SHA-1](http://docs.mongodb.org/manual/reference/program/mongo/). If you want to use standard MongoDB authentication, you should compile with --ssl option for SCRAM-SHA-1 mechanism support.
173+
- `--ssl` Enables SSL support. You will need a compatible version of the SSL libraries available.The default authorization mechanism since MongoDB version 3.0 is [SCRAM-SHA-1](https://docs.mongodb.com/master/reference/program/mongo/). If you want to use standard MongoDB authentication, you should compile with --ssl option for SCRAM-SHA-1 mechanism support.
174174
- `--use-sasl-client` Enables SASL, which MongoDB uses for the Kerberos authentication available on MongoDB Enterprise. You will need a compatible version of the SASL implementation libraries available. The Cyrus SASL libraries are what we test with, and are recommended.
175175
- `--sharedclient` Builds a shared library version of the client driver alongside the static library. If applicable for your application, prefer using the shared client.
176176

docs/content/legacy-v1/tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ This is an introduction to usage of the MongoDB database from a C++ program.
1414
NOTE: this tutorial is for the legacy and 26compat versions of the C++ driver.
1515

1616
First, install MongoDB – see the
17-
[installation](http://docs.mongodb.org/manual/installation/) page for
17+
[installation](https://docs.mongodb.com/master/installation/) page for
1818
details.
1919

2020
Next, you may wish to take a look at the [MongoDB
21-
Manual](http://docs.mongodb.org/manual/) for a language independent look at
21+
Manual](https://docs.mongodb.com/master/) for a language independent look at
2222
how to use MongoDB. Also, we suggest some basic familiarity with the [mongo
23-
shell](http://docs.mongodb.org/manual/mongo/) – the shell is the primary
23+
shell](https://docs.mongodb.com/master/mongo/) – the shell is the primary
2424
database administration tool and is useful for manually inspecting the
2525
contents of a database after your C++ program runs.
2626

@@ -189,7 +189,7 @@ BSONObj DBClientWithCommands::getLastErrorDetailed();
189189
For an example, see [this demo](https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/mongo/client/examples/simple_client_demo.cpp).
190190

191191
For additional background information on getLastError see the [write
192-
operations documentation](http://docs.mongodb.org/manual/core/write-operations/#write-concern).
192+
operations documentation](https://docs.mongodb.com/master/core/write-operations/#write-concern).
193193

194194
### Count
195195

@@ -280,7 +280,7 @@ server operation for each call. It's best practice to use this method
280280
sparingly, for example once at the beginning of your code, or perhaps in an
281281
external setup script that configures the database for your application.
282282
For more information about indexing, see the [MongoDB Indexing
283-
docs](http://docs.mongodb.org/manual/indexes/).
283+
docs](https://docs.mongodb.com/master/indexes/).
284284

285285
### Sorting
286286

@@ -324,7 +324,7 @@ db.update("tutorial.persons",
324324
The `update()` method can be used to modify specific fields, replace the
325325
entire existing document, insert new documents or update multiple
326326
documents. In the MongoDB Manual, examples are provided in the [Modify
327-
Documents Tutorial](http://docs.mongodb.org/manual/tutorial/modify-documents/).
327+
Documents Tutorial](https://docs.mongodb.com/master/tutorial/modify-documents/).
328328

329329
### Arrays
330330

@@ -336,6 +336,6 @@ is available [here](https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/
336336
This overview just touches on the basics of using MongoDB from C++. There
337337
are many more capabilities. For further exploration:
338338

339-
- See the language-independent [MongoDB Manual](http://docs.mongodb.org/manual/)
340-
- Experiment with the [mongo shell](http://docs.mongodb.org/manual/mongo/)
339+
- See the language-independent [MongoDB Manual](https://docs.mongodb.com/master/)
340+
- Experiment with the [mongo shell](https://docs.mongodb.com/master/mongo/)
341341
- Review the [API docs](http://mongodb.github.io/api/1.0.2)

docs/content/mongocxx-v3/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title = "Configuring the mongocxx driver"
99
# Configuring the Driver
1010

1111
In the mongocxx driver, most configuration is done via the [connection
12-
URI](https://docs.mongodb.com/manual/reference/connection-string/). Some
12+
URI](https://docs.mongodb.com/master/reference/connection-string/). Some
1313
additional connection options are possible via the
1414
[mongocxx::options::client] ({{< api3ref classmongocxx_1_1options_1_1client
1515
>}}) class.

docs/content/mongocxx-v3/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title = "Tutorial for mongocxx"
1111

1212
### Prerequisites
1313

14-
- A [mongod](https://docs.mongodb.com/manual/reference/program/mongod/)
14+
- A [mongod](https://docs.mongodb.com/master/reference/program/mongod/)
1515
instance running on localhost on port 27017.
1616

1717
- The mongocxx Driver. See [Installation for mongocxx]({{< ref "mongocxx-v3/installation.md" >}}).
@@ -67,7 +67,7 @@ class.
6767

6868
You must specify the host to connect to using a
6969
[`mongocxx::uri`]({{< api3ref classmongocxx_1_1uri >}}) instance containing a
70-
[MongoDB URI](https://docs.mongodb.com/manual/reference/connection-string/),
70+
[MongoDB URI](https://docs.mongodb.com/master/reference/connection-string/),
7171
and pass that into the `mongocxx::client` constructor.
7272

7373
The default `mongocxx::uri` constructor will connect to a
@@ -425,7 +425,7 @@ if(result) {
425425

426426
### Create Indexes
427427

428-
To create an [index](https://docs.mongodb.com/manual/indexes/) on a
428+
To create an [index](https://docs.mongodb.com/master/indexes/) on a
429429
field or set of fields, pass an index specification document to the
430430
`create_index()` method of a
431431
[`mongocxx::collection`]({{< api3ref classmongocxx_1_1collection >}}) instance. An

docs/content/reporting-bugs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Be aware that bug reports in JIRA for the C++ driver are public.
2323

2424
If you identify a security vulnerability in a driver or any other
2525
MongoDB project, please report it according to the instructions found in
26-
[Create a Vulnerability Report](https://docs.mongodb.com/manual/tutorial/create-a-vulnerability-report).
26+
[Create a Vulnerability Report](https://docs.mongodb.com/master/tutorial/create-a-vulnerability-report).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
http://docs.mongodb.org/manual/{{ with (.Get 0) }}{{.}}{{end}}
1+
https://docs.mongodb.com/master/{{ with (.Get 0) }}{{.}}{{end}}

0 commit comments

Comments
 (0)