Skip to content

Commit 946a7d8

Browse files
docs(NODE-4155): Update docs.mongodb.com links in source, API & Reference documentation (mongodb#3571)
Co-authored-by: Bailey Pearson <bailey.pearson@mongodb.com>
1 parent 687f51a commit 946a7d8

File tree

995 files changed

+4869
-4873
lines changed

Some content is hidden

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

995 files changed

+4869
-4873
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Core Server (i.e. SERVER) project are **public**.
3131

3232
### Support / Feedback
3333

34-
For issues with, questions about, or feedback for the Node.js driver, please look into our [support channels](https://docs.mongodb.com/manual/support). Please do not email any of the driver developers directly with issues or questions - you're more likely to get an answer on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/node-js-driver).
34+
For issues with, questions about, or feedback for the Node.js driver, please look into our [support channels](https://www.mongodb.com/docs/manual/support). Please do not email any of the driver developers directly with issues or questions - you're more likely to get an answer on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/node-js-driver).
3535

3636
### Change Log
3737

@@ -41,8 +41,8 @@ Change history can be found in [`HISTORY.md`](https://github.com/mongodb/node-mo
4141

4242
For version compatibility matrices, please refer to the following links:
4343

44-
- [MongoDB](https://docs.mongodb.com/drivers/node/current/compatibility/#mongodb-compatibility)
45-
- [NodeJS](https://docs.mongodb.com/drivers/node/current/compatibility/#language-compatibility)
44+
- [MongoDB](https://www.mongodb.com/docs/drivers/node/current/compatibility/#mongodb-compatibility)
45+
- [NodeJS](https://www.mongodb.com/docs/drivers/node/current/compatibility/#language-compatibility)
4646

4747
#### Typescript Version
4848

@@ -91,7 +91,7 @@ Third party:
9191

9292
## Quick Start
9393

94-
This guide will show you how to set up a simple application using Node.js and MongoDB. Its scope is only how to set up the driver and perform the simple CRUD operations. For more in-depth coverage, see the [official documentation](https://docs.mongodb.com/drivers/node/).
94+
This guide will show you how to set up a simple application using Node.js and MongoDB. Its scope is only how to set up the driver and perform the simple CRUD operations. For more in-depth coverage, see the [official documentation](https://www.mongodb.com/docs/drivers/node/).
9595

9696
### Create the `package.json` file
9797

@@ -116,7 +116,7 @@ npm install mongodb
116116

117117
### Start a MongoDB Server
118118

119-
For complete MongoDB installation instructions, see [the manual](https://docs.mongodb.org/manual/installation/).
119+
For complete MongoDB installation instructions, see [the manual](https://www.mongodb.com/docs/manual/installation/).
120120

121121
1. Download the right MongoDB version from [MongoDB](https://www.mongodb.org/downloads)
122122
2. Create a database directory (in this case under **/data**).
@@ -243,7 +243,7 @@ console.log('Deleted documents =>', deleteResult);
243243

244244
### Index a Collection
245245

246-
[Indexes](https://docs.mongodb.org/manual/indexes/) can improve your application's
246+
[Indexes](https://www.mongodb.com/docs/manual/indexes/) can improve your application's
247247
performance. The following function creates an index on the **a** field in the
248248
**documents** collection.
249249

@@ -252,7 +252,7 @@ const indexName = await collection.createIndex({ a: 1 });
252252
console.log('index name =', indexName);
253253
```
254254

255-
For more detailed information, see the [indexing strategies page](https://docs.mongodb.com/manual/applications/indexes/).
255+
For more detailed information, see the [indexing strategies page](https://www.mongodb.com/docs/manual/applications/indexes/).
256256

257257
## Error Handling
258258

@@ -282,9 +282,9 @@ try {
282282

283283
## Next Steps
284284

285-
- [MongoDB Documentation](https://docs.mongodb.com/manual/)
286-
- [MongoDB Node Driver Documentation](https://docs.mongodb.com/drivers/node/)
287-
- [Read about Schemas](https://docs.mongodb.com/manual/core/data-modeling-introduction/)
285+
- [MongoDB Documentation](https://www.mongodb.com/docs/manual/)
286+
- [MongoDB Node Driver Documentation](https://www.mongodb.com/docs/drivers/node/)
287+
- [Read about Schemas](https://www.mongodb.com/docs/manual/core/data-modeling-introduction/)
288288
- [Star us on GitHub](https://github.com/mongodb/node-mongodb-native)
289289

290290
## License

docs/2.2/api/Collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4982,7 +4982,7 @@ <h4 class="name" id="createIndexes">
49824982

49834983

49844984
<div class="description">
4985-
<p>Creates multiple indexes in the collection, this method is only supported for<br>MongoDB 2.6 or higher. Earlier version of MongoDB will throw a command not supported<br>error. Index specifications are defined at http://docs.mongodb.org/manual/reference/command/createIndexes/.</p>
4985+
<p>Creates multiple indexes in the collection, this method is only supported for<br>MongoDB 2.6 or higher. Earlier version of MongoDB will throw a command not supported<br>error. Index specifications are defined at https://www.mongodb.com/docs/manual/reference/command/createIndexes/.</p>
49864986
</div>
49874987

49884988

docs/2.2/api/Db.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5436,7 +5436,7 @@ <h4 class="name" id="createCollection">
54365436

54375437

54385438
<div class="description">
5439-
<p>Create a new collection on a server with the specified options. Use this to create capped collections.<br>More information about command options available at https://docs.mongodb.com/manual/reference/command/create/</p>
5439+
<p>Create a new collection on a server with the specified options. Use this to create capped collections.<br>More information about command options available at https://www.mongodb.com/docs/manual/reference/command/create/</p>
54405440
</div>
54415441

54425442

docs/2.2/api/lib_collection.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,7 @@ <h1 class="page-title" data-filename="lib_collection.js.html">Source: lib/collec
34423442
/**
34433443
* Creates multiple indexes in the collection, this method is only supported for
34443444
* MongoDB 2.6 or higher. Earlier version of MongoDB will throw a command not supported
3445-
* error. Index specifications are defined at http://docs.mongodb.org/manual/reference/command/createIndexes/.
3445+
* error. Index specifications are defined at https://www.mongodb.com/docs/manual/reference/command/createIndexes/.
34463446
* @method
34473447
* @param {array} indexSpecs An array of index specifications to be created
34483448
* @param {Collection~resultCallback} [callback] The command result callback

docs/2.2/api/lib_db.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ <h1 class="page-title" data-filename="lib_db.js.html">Source: lib/db.js</h1>
23672367

23682368
/**
23692369
* Create a new collection on a server with the specified options. Use this to create capped collections.
2370-
* More information about command options available at https://docs.mongodb.com/manual/reference/command/create/
2370+
* More information about command options available at https://www.mongodb.com/docs/manual/reference/command/create/
23712371
*
23722372
* @method
23732373
* @param {string} name the collection name we wish to access.

docs/2.2/css/mongodb-docs.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -497,14 +497,14 @@ ul.home-nav li.docs { width: 276px; }
497497

498498
ul.home-nav li.docs a, ul.home-nav li.docs a:visited {
499499
float: left;
500-
background: url(http://www.mongodb.org/static/images/home_nav.png) -11px -63px;
500+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -11px -63px;
501501
width: 209px;
502502
height: 54px;
503503
}
504504

505505
ul.home-nav li.docs a:hover {
506506
float: left;
507-
background: url(http://www.mongodb.org/static/images/home_nav.png) -11px 0;
507+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -11px 0;
508508
width: 209px;
509509
height: 54px;
510510
}
@@ -513,14 +513,14 @@ ul.home-nav li.try { width: 238px; }
513513

514514
ul.home-nav li.try a, ul.home-nav li.try a:visited {
515515
float: left;
516-
background: url(http://www.mongodb.org/static/images/home_nav.png) -274px -63px;
516+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -274px -63px;
517517
width: 176px;
518518
height: 54px;
519519
}
520520

521521
ul.home-nav li.try a:hover {
522522
float: left;
523-
background: url(http://www.mongodb.org/static/images/home_nav.png) -274px 0;
523+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -274px 0;
524524
width: 176px;
525525
height: 54px;
526526
}
@@ -529,14 +529,14 @@ ul.home-nav li.downloads { width: 245px; }
529529

530530
ul.home-nav li.downloads a, ul.home-nav li.downloads a:visited {
531531
float: left;
532-
background: url(http://www.mongodb.org/static/images/home_nav.png) -497px -63px;
532+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -497px -63px;
533533
width: 185px;
534534
height: 54px;
535535
}
536536

537537
ul.home-nav li.downloads a:hover {
538538
float: left;
539-
background: url(http://www.mongodb.org/static/images/home_nav.png) -497px 0;
539+
background: url(www.mongodb.com/docs/static/images/home_nav.png) -497px 0;
540540
width: 185px;
541541
height: 54px;
542542
}
@@ -547,14 +547,14 @@ ul.home-nav li.drivers {
547547

548548
ul.home-nav li.drivers a, ul.home-nav li.drivers a:visited {
549549
float: left;
550-
background: url(http://www.mongodb.org/static/images/home_nav.png) right -63px no-repeat;
550+
background: url(www.mongodb.com/docs/static/images/home_nav.png) right -63px no-repeat;
551551
width: 194px;
552552
height: 54px;
553553
}
554554

555555
ul.home-nav li.drivers a:hover {
556556
float: left;
557-
background: url(http://www.mongodb.org/static/images/home_nav.png) right 0 no-repeat;
557+
background: url(www.mongodb.com/docs/static/images/home_nav.png) right 0 no-repeat;
558558
width: 194px;
559559
height: 54px;
560560
}

docs/2.2/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636

3737
<div class="logo pull-left">
3838
<a href="https://www.mongodb.com/">
39-
<img src="http://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
39+
<img src="https://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
4040
</a>
4141
</div>
4242

4343
<div>
4444
<div class="nav-items pull-right">
4545
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
46-
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
47-
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
48-
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
49-
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
46+
<a href="https://www.mongodb.com/try" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
47+
<a href="https://www.mongodb.com/community" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
48+
<a href="https://www.mongodb.com/docs" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
49+
<a href="https://www.mongodb.com/blog" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
5050
<div id="search">
5151
<form method="get" action="//www.google.com/search" target="_blank">
5252
<input type="text" name="searchQuery" size="20" value="" autocomplete="off" placeholder="Search docs">
@@ -2177,7 +2177,7 @@ <h3>
21772177

21782178
<div class="alert alert-info" role="alert">
21792179
Note: You are currently viewing version 2.2 of the Node.js driver documentation.
2180-
<a href="https://docs.mongodb.com/drivers/node">Click here</a> for the latest version.
2180+
<a href="https://www.mongodb.com/docs/drivers/node">Click here</a> for the latest version.
21812181
</div>
21822182

21832183

docs/2.2/installation-guide/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@
3535

3636
<div class="logo pull-left">
3737
<a href="https://www.mongodb.com/">
38-
<img src="http://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
38+
<img src="https://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
3939
</a>
4040
</div>
4141

4242
<div>
4343
<div class="nav-items pull-right">
4444
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
45-
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46-
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47-
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48-
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
45+
<a href="https://www.mongodb.com/try" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46+
<a href="https://www.mongodb.com/community" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47+
<a href="https://www.mongodb.com/docs" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48+
<a href="https://www.mongodb.com/blog" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
4949
<div id="search">
5050
<form method="get" action="//www.google.com/search" target="_blank">
5151
<input type="text" name="searchQuery" size="20" value="" autocomplete="off" placeholder="Search docs">
@@ -2176,7 +2176,7 @@ <h3>
21762176

21772177
<div class="alert alert-info" role="alert">
21782178
Note: You are currently viewing version 2.2 of the Node.js driver documentation.
2179-
<a href="https://docs.mongodb.com/drivers/node">Click here</a> for the latest version.
2179+
<a href="https://www.mongodb.com/docs/drivers/node">Click here</a> for the latest version.
21802180
</div>
21812181

21822182

docs/2.2/installation-guide/installation-guide/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@
3535

3636
<div class="logo pull-left">
3737
<a href="https://www.mongodb.com/">
38-
<img src="http://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
38+
<img src="https://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
3939
</a>
4040
</div>
4141

4242
<div>
4343
<div class="nav-items pull-right">
4444
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
45-
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46-
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47-
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48-
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
45+
<a href="https://www.mongodb.com/try" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46+
<a href="https://www.mongodb.com/community" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47+
<a href="https://www.mongodb.com/docs" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48+
<a href="https://www.mongodb.com/blog" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
4949
<div id="search">
5050
<form method="get" action="//www.google.com/search" target="_blank">
5151
<input type="text" name="searchQuery" size="20" value="" autocomplete="off" placeholder="Search docs">
@@ -1438,7 +1438,7 @@ <h3>
14381438

14391439
<div class="alert alert-info" role="alert">
14401440
Note: You are currently viewing version 2.2 of the Node.js driver documentation.
1441-
<a href="https://docs.mongodb.com/drivers/node">Click here</a> for the latest version.
1441+
<a href="https://www.mongodb.com/docs/drivers/node">Click here</a> for the latest version.
14421442
</div>
14431443

14441444

docs/2.2/issues-help/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@
3535

3636
<div class="logo pull-left">
3737
<a href="https://www.mongodb.com/">
38-
<img src="http://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
38+
<img src="https://mongodb.github.io/node-mongodb-native/img/logo-mongodb-header.png", alt="MongoDB.com" />
3939
</a>
4040
</div>
4141

4242
<div>
4343
<div class="nav-items pull-right">
4444
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
45-
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46-
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47-
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48-
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
45+
<a href="https://www.mongodb.com/try" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
46+
<a href="https://www.mongodb.com/community" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
47+
<a href="https://www.mongodb.com/docs" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
48+
<a href="https://www.mongodb.com/blog" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
4949
<div id="search">
5050
<form method="get" action="//www.google.com/search" target="_blank">
5151
<input type="text" name="searchQuery" size="20" value="" autocomplete="off" placeholder="Search docs">
@@ -2181,7 +2181,7 @@ <h3>
21812181

21822182
<div class="alert alert-info" role="alert">
21832183
Note: You are currently viewing version 2.2 of the Node.js driver documentation.
2184-
<a href="https://docs.mongodb.com/drivers/node">Click here</a> for the latest version.
2184+
<a href="https://www.mongodb.com/docs/drivers/node">Click here</a> for the latest version.
21852185
</div>
21862186

21872187

@@ -2236,7 +2236,7 @@ <h2 id="bugs-feature-requests">Bugs / Feature Requests</h2>
22362236
<p>Bug reports in JIRA for the Node.js driver and the Core Server (i.e. SERVER) project are <strong>public</strong>.</p>
22372237

22382238
<p>If you’ve identified a security vulnerability in a driver or any other
2239-
MongoDB project, please report it according to the instructions found in the <a href="http://docs.mongodb.org/manual/tutorial/create-a-vulnerability-report">Create a Vulnerability Report</a>.</p>
2239+
MongoDB project, please report it according to the instructions found in the <a href="https://www.mongodb.com/docs/manual/tutorial/create-a-vulnerability-report">Create a Vulnerability Report</a>.</p>
22402240

22412241
<h2 id="pull-requests">Pull Requests</h2>
22422242

0 commit comments

Comments
 (0)