From cec4eccd2064a2c06bf3e8b87b64cb321bd55339 Mon Sep 17 00:00:00 2001 From: kay Date: Wed, 24 Aug 2016 15:57:32 -0400 Subject: [PATCH 1/2] updates for 2.2 version of the manual and reorder tutorials --- docs/reference/content/index.md | 2 +- docs/reference/content/installation-guide/index.md | 2 +- docs/reference/content/quick-start/index.md | 2 +- docs/reference/content/tutorials/aggregation.md | 2 +- docs/reference/content/tutorials/collections.md | 2 +- docs/reference/content/tutorials/commands.md | 2 +- docs/reference/content/tutorials/crud.md | 2 +- .../reference/content/tutorials/geospatial-search.md | 2 +- docs/reference/content/tutorials/index.md | 12 ++++++------ docs/reference/content/tutorials/projections.md | 2 +- docs/reference/content/tutorials/text-search.md | 2 +- docs/reference/content/upgrade-migration/index.md | 2 +- .../reference/content/upgrade-migration/upgrading.md | 6 +++--- 13 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/reference/content/index.md b/docs/reference/content/index.md index c4a18a13d3f..f22ac3adffb 100644 --- a/docs/reference/content/index.md +++ b/docs/reference/content/index.md @@ -9,7 +9,7 @@ type = "index" Welcome to the MongoDB Node.js 2.x driver documentation. -## What's New in 2.1 +## What's New The [What's New]({{< relref "upgrade-migration/index.md" >}}) guide explains the major new features of the driver. diff --git a/docs/reference/content/installation-guide/index.md b/docs/reference/content/installation-guide/index.md index 3d3c8fe7985..23f01c0ab73 100644 --- a/docs/reference/content/installation-guide/index.md +++ b/docs/reference/content/installation-guide/index.md @@ -3,7 +3,7 @@ date = "2015-03-17T15:36:56Z" title = "Installation Guide" [menu.main] identifier = "Installation Guide" - weight = 15 + weight = 10 pre = "" +++ diff --git a/docs/reference/content/quick-start/index.md b/docs/reference/content/quick-start/index.md index fba8a1c82ad..933b36b41b3 100644 --- a/docs/reference/content/quick-start/index.md +++ b/docs/reference/content/quick-start/index.md @@ -3,7 +3,7 @@ date = "2015-03-17T15:36:56Z" title = "Quick Start" [menu.main] identifier = "Quick Start" - weight = 10 + weight = 15 pre = "" +++ diff --git a/docs/reference/content/tutorials/aggregation.md b/docs/reference/content/tutorials/aggregation.md index 16c76dd6dfe..45ad02b1044 100644 --- a/docs/reference/content/tutorials/aggregation.md +++ b/docs/reference/content/tutorials/aggregation.md @@ -4,7 +4,7 @@ title = "Aggregation" [menu.main] parent = "Tutorials" identifier = "Aggregation" - weight = 70 + weight = 46 pre = "" +++ diff --git a/docs/reference/content/tutorials/collections.md b/docs/reference/content/tutorials/collections.md index cc05fbfd251..529a8b0d94c 100644 --- a/docs/reference/content/tutorials/collections.md +++ b/docs/reference/content/tutorials/collections.md @@ -4,7 +4,7 @@ title = "Collections" [menu.main] parent = "Tutorials" identifier = "Collections" - weight = 45 + weight = 30 pre = "" +++ diff --git a/docs/reference/content/tutorials/commands.md b/docs/reference/content/tutorials/commands.md index f8042c1ae33..ce64772f465 100644 --- a/docs/reference/content/tutorials/commands.md +++ b/docs/reference/content/tutorials/commands.md @@ -4,7 +4,7 @@ title = "Database Commands" [menu.main] parent = "Tutorials" identifier = "Database Commands" - weight = 50 + weight = 70 pre = "" +++ diff --git a/docs/reference/content/tutorials/crud.md b/docs/reference/content/tutorials/crud.md index 25ca7b131e4..05f3a7c676b 100644 --- a/docs/reference/content/tutorials/crud.md +++ b/docs/reference/content/tutorials/crud.md @@ -4,7 +4,7 @@ title = "CRUD Operations" [menu.main] parent = "Tutorials" identifier = "CRUD Operations" - weight = 30 + weight = 40 pre = "" +++ diff --git a/docs/reference/content/tutorials/geospatial-search.md b/docs/reference/content/tutorials/geospatial-search.md index f16565398aa..f5cf438ce1c 100644 --- a/docs/reference/content/tutorials/geospatial-search.md +++ b/docs/reference/content/tutorials/geospatial-search.md @@ -4,7 +4,7 @@ title = "Geospatial Search" [menu.main] parent = "Tutorials" identifier = "Geospatial Search" - weight = 45 + weight = 55 pre = "" +++ diff --git a/docs/reference/content/tutorials/index.md b/docs/reference/content/tutorials/index.md index ffd1ae469d2..709a7cdc147 100644 --- a/docs/reference/content/tutorials/index.md +++ b/docs/reference/content/tutorials/index.md @@ -14,21 +14,21 @@ The tutorials in this section provide examples of some frequently used operation [Connect to MongoDB]({{< relref "tutorials/connect/index.md" >}}) -[CRUD Operations]({{< relref "tutorials/crud.md" >}}) - [Collections]({{< relref "tutorials/collections.md" >}}) +[Create Indexes]({{< relref "tutorials/create-indexes.md" >}}) + +[CRUD Operations]({{< relref "tutorials/crud.md" >}}) + [Projections]({{< relref "tutorials/projections.md" >}}) [Aggregation]({{< relref "tutorials/aggregation.md" >}}) -[Create Indexes]({{< relref "tutorials/create-indexes.md" >}}) - [Text Search]({{< relref "tutorials/text-search.md" >}}) [Geospatial Search]({{< relref "tutorials/geospatial-search.md" >}}) -[GridFS]({{< relref "tutorials/gridfs/index.md" >}}) - [Database Commands]({{< relref "tutorials/commands.md" >}}) +[GridFS]({{< relref "tutorials/gridfs/index.md" >}}) + diff --git a/docs/reference/content/tutorials/projections.md b/docs/reference/content/tutorials/projections.md index 2ed9e1aff32..313b96c62ba 100644 --- a/docs/reference/content/tutorials/projections.md +++ b/docs/reference/content/tutorials/projections.md @@ -4,7 +4,7 @@ title = "Projections" [menu.main] parent = "Tutorials" identifier = "Projections" - weight = 30 + weight = 45 pre = "" +++ diff --git a/docs/reference/content/tutorials/text-search.md b/docs/reference/content/tutorials/text-search.md index 313d2ad2e85..3433550e154 100644 --- a/docs/reference/content/tutorials/text-search.md +++ b/docs/reference/content/tutorials/text-search.md @@ -4,7 +4,7 @@ title = "Text Search" [menu.main] parent = "Tutorials" identifier = "Text Search" - weight = 40 + weight = 50 pre = "" +++ diff --git a/docs/reference/content/upgrade-migration/index.md b/docs/reference/content/upgrade-migration/index.md index 664e2a1dfbd..1da90342d23 100644 --- a/docs/reference/content/upgrade-migration/index.md +++ b/docs/reference/content/upgrade-migration/index.md @@ -9,7 +9,7 @@ title = "Upgrade Guide" # What's New in 2.2 -Key features of the 2.1 driver include: +Key features of the 2.2 driver include: - Redesigned Connection Pool. - Connection close will drain any outstanding operations. diff --git a/docs/reference/content/upgrade-migration/upgrading.md b/docs/reference/content/upgrade-migration/upgrading.md index c1d371941e2..89d49427471 100644 --- a/docs/reference/content/upgrade-migration/upgrading.md +++ b/docs/reference/content/upgrade-migration/upgrading.md @@ -1,14 +1,14 @@ +++ date = "2015-03-19T12:53:39-04:00" -title = "Upgrading to 2.0" +title = "Upgrading to 2.x" [menu.main] parent = "Upgrade Guide" - identifier = "Upgrading to 2.0" + identifier = "Upgrading to 2.x" weight = 40 pre = "" +++ -# Migrating Your Application To 2.0 +# Migrating Your Application To 2.x There are some key changes in the driver that you should be aware of before migrating your application from version 1.x to 2.x. Some APIs are cleaned up, and some 1.x features have been deprecated. From 46e59acd9de2ff90b9b5f7ed719c902a7ce32a1f Mon Sep 17 00:00:00 2001 From: kay Date: Wed, 24 Aug 2016 16:05:51 -0400 Subject: [PATCH 2/2] 2.2 docs: fix left hand mongodb.com image and link --- .../themes/mongodb/layouts/partials/header/main.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference/themes/mongodb/layouts/partials/header/main.html b/docs/reference/themes/mongodb/layouts/partials/header/main.html index e37d07bc5f9..f927ee5038e 100644 --- a/docs/reference/themes/mongodb/layouts/partials/header/main.html +++ b/docs/reference/themes/mongodb/layouts/partials/header/main.html @@ -6,11 +6,12 @@ {{ partial "header/topRight.html" . }} +